How can i enable shortcodes in the category description?

Posted in: Newspaper
Post count: 5

Hi,
when i enter a shortcode in the category description, it just shows as text but not the actual shortcode. Can you tell me how to fix it?

I tried this but it does not work 🙁
add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');

Post count: 23312

Hello xGnux,

Unfortunately, our theme does not have any such an option that allows you a way to enable the shortcodes for category description, sorry! This thing can be achieved only through additional customizations which involve custom work and we cannot provide this type of services at the moment, sorry! If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this, please consider hiring a freelancer/developer to help you!

Thanks for your understanding!

Post count: 4

I’m having the same issue. In many forums it suggests adding

add_filter( 'term_description', 'do_shortcode' );

to functions.php however in this case it does not work. Suggestion in other forums is that you can replace 'term_description' with whatever technical name your theme uses for this block…

So I guess we need to know what the theme uses instead of term_description ?

Post count: 23312

Hello garethl,

Unfortunately, this implementation seems not working for our theme, sorry! Notice that is not a simple task and it is needed to make some additional customizations through the code in order to achieve this. So, if you want to display more levels in the theme and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!

Thanks for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.