Show category description in Metro

Community Forums Forums Design Tips and Tricks Show category description in Metro

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  anitac 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36518

    Amosnet
    Participant
    Post count: 3

    Hello,

    i wonder how to show the category description in the Metro theme? Is there a setting for it to turn it on?

    Thanks

    Amos

    #36528

    anitac
    Participant
    Post count: 6991

    That is isn’t a standard code, but I found this for you. Coincidently, he’s using the Metro Theme – http://robskidmore.me/genesis-wordpress-how-to-display-category-descriptions/.

    To sum it up, just add this code to the bottom or your Functions.php file.

    [php]
    /** Show category descriptions */
    function minimum_cat_description () {
    if (is_category() ) {
    echo category_description( $category-id );
    }}
    add_action( ‘genesis_before_loop’, ‘minimum_cat_description’);[/php]


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.