WordPress.org

Ready to get started?Download WordPress

Forums

<?php category_description(); ?> doesn't work anymore use this (3 posts)

  1. westondeboer
    Member
    Posted 6 years ago #

    <?php echo $cat->description; ?> to echo category description

  2. Dion Hulse
    WordPress Dev
    Posted 6 years ago #

    category_description() returns the description
    This works fine for me:
    <?php echo category_description(); ?>
    Its syntax doesnt seem to have changed since 2.2

  3. ptroxler
    Member
    Posted 6 years ago #

    thanks for the heads-up.

    (it would have been so easy to keep backwards compatibilty, one would think.)

Topic Closed

This topic has been closed to new replies.

About this Topic