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.
- The topic ‘Category Description PHP Code’ is closed to new replies.