WordPress.org

Ready to get started?Download WordPress

Forums

Displaying Category description (3 posts)

  1. staceyk18
    Member
    Posted 6 years ago #

    HELP!!

    I am really confused! I am trying to display the category description on the page using '<?php echo category_description(); ?>' but it isnt working...

    Any ideas why??

  2. staceyk18
    Member
    Posted 6 years ago #

    Sorry, should have said that it is on a page.php page, not a catergory.php or single.php.... Is this posible? I am pulling out 4 Categories on a page, before it goes into where it displays the posts, and only want to display a image, title and description for the category.

  3. staceyk18
    Member
    Posted 6 years ago #

    This is what I have at the moment, and fr each cateory I would like to display the description

    '<div id="cat">

    </div>'

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.