Hi guys,
Just wondering if you could help me. I have installed a plugin which is important to our site. Sadly for the excerpt area it automatically inserts a shortcode, rather than the text itself.
I understand that the Avenue theme does not support shortcodes in this area and as such the shortcode itself is showing up where the Excerpt text should be, which is not ideal for the general public use.
May I ask if anyone know how I can go about solving this problem? Its quite a big deal that I get this resolved.
Thank you for your help,
Tu
add this to the bottom of your functions.php
add_filter('the_excerpt', 'do_shortcode');
Hi,
Thank you for your prompt reply. I just added the code to the bottom of the Avenue theme fuctions.php (website.com/wp-content/themes/Avenue/fuctions.php) and sadly it didn’t do anything.
Did I do something wrong?
cheers,
Tu
OrganicBeeMedia said
add this to the bottom of your functions.phpadd_filter('the_excerpt', 'do_shortcode');
