using shortcode in Category

  • stones001

    #9165

    Hi,

    Maybe i’m wrong but at the moment, shortcodes in Graphene are processed only in post/page content.

    I would like to be able to place and execute shortcodes in description categories using WP 3.9.1 and Graphene 1.9.3

    Following the discussion here :

    USING SHORTCODES EVERYWHERE

    Cool WordPress Category Pages

    Theory is to place the following code in the function.php of my Graphene child theme:

    add_filter( 'category_description', 'do_shortcode' );

    But it does not work at all.

    Shortcodes are displayed as a simple text and not executed.

    I’m using child theme to edit my functions.php, Graphene 1.9.3 and WP 3.9.1

    Any idea ? What could be the problem?

    Any help would be greatly appreciated

    Thanks in advance…

    phil

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.