• Resolved marcorroma

    (@marcorroma)


    Hi, I use your plugin to insert shortcodes to customize the categories of my site.
    In each category, a <p> </p> appears before the shortcode that I would like to delete because a margin-bottom is set for each <p> (margin-bottom I need)
    How can I solve? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kevin heath

    (@ypraise)

    This sounds like a theme issue to me.

    There’s no coding for allowing shortcodes in category description areas, it’s simply switching on an action – add_filter(‘term_description’, ‘do_shortcode’);

    What theme are you using and I’ll give it a try and see if I can replicate the issue.

    thanks
    kevin

    Thread Starter marcorroma

    (@marcorroma)

    I solved it by placing this code in the theme’s functions.php
    remove_filter('term_description','wpautop');
    Thanks for the support

    Plugin Author kevin heath

    (@ypraise)

    ok, thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paragraph to be removed’ is closed to new replies.