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
For admin
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
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