shortcode in category description doesn’t work

#322329
  • Resolved huemanfoo
    Rank Math free

    Hi,
    is there any way i can use shortcodes in my product category description field?
    This works fine without the RM plugin but not when plugin is activated.
    I understand why but is there a way around this while still using the plugin?
    I have tried adding this code to my functions.php but its not working – add_filter( ‘term_description’, ‘do_shortcode’ );
    Please advise,
    Thanks.

Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us.

    I tested on my end and it seems to be working fine. However, as “term_description” is a very common term for a shortcode, please try using a more unique name and see if that fixes the issue.

    Let us know how that goes.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘shortcode in category description doesn’t work’ is closed to new replies.