WordPress.org

Ready to get started?Download WordPress

Forums

How to show Category Description in Posts! (2 posts)

  1. augustomallmann
    Member
    Posted 3 years ago #

    Hi :D
    i have a doubt :(
    How can i show the category description in post page?
    i put this code:
    <?php echo category_description( $category ); ?>
    upon the <title> of the post and the result is... nothing!
    Why?

    ps: i donĀ“t have a good english, but i think you understand :D

  2. Reuben Gunday
    Member
    Posted 3 years ago #

    Try this
    <?php echo category_description(get_query_var('cat')); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic