3 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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

3330 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

add this to the bottom of your functions.php

add_filter('the_excerpt', 'do_shortcode');
3 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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