Category Description PHP Code (1 post)

  1. reeltuner
    Posted 4 years ago #

    hi guys, new here and new to wp. can someone help me with this code?

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

    i used a php code widget on the sidebar to use it. i wanted to show the category description of each category i have on the sidebar... problem is i want the category description to show on the single posts of each specific category as well. the code works fine but i think it needs more. it probably relates to return value or the loop? how do i do this.

Topic Closed

This topic has been closed to new replies.

About this Topic