• Pepdeal

    (@pepdeal)


    I USE graphene theme, and i used front page category from graphene option.The problem is,I cannot see the category description which i inserted for the category “how to make money”

    please tell how can i display the category description on the front page at top of all summary?

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • kjodle

    (@kjodle)

    If you are talking about the “Front Page Options” then this will not show the category description on the front page, since you are able to choose more than one category for the front page.

    The category description only shows on category archive pages.

    You can probably show the category description on the front page using the category description function:

    <?php echo category_description( $category_id ); ?>

    You would need to use a Graphene action hook widget area and put the above code into a PHP widget. Not at all difficult, really–you just need to substitute the appropriate category ID for $category_id. Read my tutorial here:

    http://blog.kjodle.net/2011/11/04/graphene-action-hook-widgets-an-easy-way-to-modify-your-blog/

    That will tell you how to set up the action hook widget area. If you need more help, let us know.

    kjodle

    (@kjodle)

    Actually, I just set this up on my test blog in about 10 minutes. You can see the results here:

    http://test.kjodle.net/blog/

    I used the “graphene_after_slider” widget area in “includes/theme-slider.php”

    I probably will do a tutorial in a few days on how to accomplish this. Let me know if you are interested.

    Thread Starter Pepdeal

    (@pepdeal)

    this is very good,please tell the details

    thanks

    Thread Starter Pepdeal

    (@pepdeal)

    hello kjodle

    i want to know where to post the code

    <?php echo category_description( $category_id ); ?>

    I see the advanced option of graphene but there are many links.please tell which to choose

    thanks

    kjodle

    (@kjodle)

    I’ll post a tutorial about this–just give me a day or two. I’m sure others would be interested in this.

    kjodle

    (@kjodle)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to show category description in home page’ is closed to new replies.