3 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
manaleak says

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

3192 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
  • Exclusive Author
organicbee says

add this to the bottom of your functions.php

add_filter('the_excerpt', 'do_shortcode');
3 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
manaleak says

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


add this to the bottom of your functions.php
add_filter('the_excerpt', 'do_shortcode');
by
by
by
by
by
by