Tagged: Shortcodes
-
AuthorPosts
-
August 7, 2019 at 11:14 am #1125457
Hi Enfold support
got a little problem with Shortcodes here..That’s the part @ functions.php:
add_action('woocommerce_after_single_product', 'custom_shop_footer', 9); function custom_shop_footer() { echo "<h3>shortcode follows here:</h3>".do_shortcode("[av_postcontent link='page,241' av_uid='av-jz0xsbry' custom_class='']"); }
(In our case it adds some page content in a Woocommerce details view.)
The headline is displayed nicely, but not the Enfold shortcode (processed yes, but empty).What are we missing?
August 8, 2019 at 11:08 am #1125883August 9, 2019 at 8:18 am #1126127nobody here?!
August 10, 2019 at 4:02 pm #1126432Hi boehmmedia,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Please refrain from replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
Best regards,
VictoriaAugust 12, 2019 at 8:06 am #1126732Here you go, thank you in advance.
August 13, 2019 at 12:03 pm #1127162Hi boehmmedia,
Please update the theme to the latest version. That should fix any issues you are currently experiencing :)
To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)
Best regards,
Victoria- This reply was modified 5 years, 4 months ago by Victoria.
August 14, 2019 at 7:57 am #1127506That is the latest version (4.5.4)!
August 15, 2019 at 2:36 pm #1127947Hi boehmmedia,
The latest is 4.5.7.
You can follow these steps to update the theme:
Best regards,
VictoriaAugust 16, 2019 at 3:47 pm #1128271indeed, it Enfold didn’t detect the latest update automatically…
AND YES, WITH THE UPDATE IT’S WORKING. thank you.in case somebody needs this solution, too: you have to reprocess the code in case of av_postcontent like
$code = do_shortcode("[av_postcontent link='page,241' av_uid='av-jz0xsbry' custom_class='']"); echo do_shortcode($code);
August 16, 2019 at 8:53 pm #1128367Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Please bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘Enfold Shortcode not being rendered’ is closed to new replies.