Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16280

    Hi there,
    I’m trying to add a description to every category on the Simple catch theme, but so far no luck.
    How do I integrate the “http://wordpress.org/plugins/allow-html-in-category-descriptions/” into my theme?
    Otherwise where can I paste this code to allow category description?
    <?php echo category_description( $category_id ); ?>
    ?
    Thanks in advance!

    #16287
    Sakin
    Keymaster

    @Greenmunchies: Sorry I don’t get it what are you trying to do it. can you explain more please?

    #16303

    Hi Sakin,
    Already solve me previous issues but now I want to add a category description, e.g: Organic: In this section you would be able to…
    Basically is to activate what you wrote on the category description so that it will be displayed always below the category. I’ve searched in different webpages and blogs and got what to do (more or less), to paste this snippet code <?php echo category_description( $category_id ); ?>
    They say to paste it on category.php, archive.php or index.php but none of them is working as they tell me. Thus they told me to check with someone that’s using catch themes.
    Do you know how to solve this issue or where to paste exactly this code?
    here is the answer and what the guy replied to me.

    http://wpmu.org/how-to-display-your-wordpress-category-description-in-your-theme/

    Thanks again!

    #16333
    Sakin
    Keymaster

    @Greenmunchies: You can add the following code in child theme archive.php

    if ( is_category() ) {
    	echo category_description( $category_id );
    }

    which should be pasted just after the following Code

    if ( function_exists( 'simplecatch_display_div' ) ) {
    	$themeoption_layout = simplecatch_display_div();
    }
    #16751

    Hi Sakin,
    IT WORKS!!!!!! Thanks a million! Finally and after many try outs the issue is solved.
    This might be important info for more bloggers.
    Thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding description to a category!’ is closed to new replies.