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

    (@ypraise)

    Hi

    It should be possible to allow shortcodes by using the do_shortcode command somewhere.

    I’ll take a look and try and get it running but it may a few days or a weeks or so as I’m pretty busy at the moment.

    If the place jumps to mind earlier then I’ll do an update.

    thanks
    Kevin

    Plugin Author kevin heath

    (@ypraise)

    As an emergency you could do this:

    in your theme archive’php file or whichever file covers your category listings you will find :

    <p>'.category_description().'</p>';

    or something simialr to call the category description. You can get shortcodes to run by adding the do_shortcode() to it so:

    <p>'.do_shortcode(category_description()).'</p>';

    I will try and work it into the plugin somehow when I get the time.

    Kevin

    Plugin Author kevin heath

    (@ypraise)

    Hi

    i’ve taken a little look at this and it’s not something that I think can be done through the plugin. I’ve had a look at some themes and different themes call the category description in a different way so I can not use just a simple string replace for the category_description.

    I think it’s just a question of doing the do_shortcode hack on your own theme files.

    Sorry about that but I don’t think there is a way of doing this without messing up other themes etc.

    Kevin

    Thread Starter blieben

    (@blieben)

    Thanks for taking the time to look Kevin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcodes’ is closed to new replies.