Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #228225

    Hi

    I’ve been trying to add a bit of content and a button to an icon list in a portfolio entry.

    I wanted to add some list item content, so did so then went to add a button through the shortcode editor which all went okay. I added a link to the button which I set up to a contact page. In my case page id 953.

    In testing on clicking the button I kept getting page cannot be found, then I noticed the link hadn’t populated correctly and after the last / just had the page nu,ber 953. To get it to display correctly I had to add ?page_id=953, then it worked.

    It seems when setting it up its not populating the link to a page correctly.

    Its still not working so will await an update.

    Thought you should know.

    Thanks

    Lee

    #228435

    For admin

    #228911

    Hey!

    I can’t reproduce the issue on my test server. Please create us an admin account and post a link to the page where the button doesn’t work.

    Best regards,
    Peter

    #229208
    This reply has been marked as private.
    #229973

    Hey!

    I could find the bug. We’ll fix it with the next update. For now open up wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php and replace:

    
        		$link = explode(',', $link);
    

    with

    
                if(!is_array($link) && is_numeric($link))
                {
                    $permalink = get_permalink($link);
                    if($permalink) return $permalink;
                }
    
        		$link = explode(',', $link);
    

    Best regards,
    Peter

    #234163

    Hi!

    thanks for the notice, I was able to find the problem and fix it ;)

    Regards,
    Kriesi

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Bug report for button in icon list text.’ is closed to new replies.