Return to Support

using shortcode in Category

Home Forums Graphene WordPress theme Support using shortcode in Category

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9165
    stones001
    Member

    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.