WordPress.org

Ready to get started?Download WordPress

Forums

category_description(category) (2 posts)

  1. gulflee
    Member
    Posted 6 years ago #

    <?php category_description(category); ?> showing <p> category description blah~blah~blah </p>. It should show only; categaory description blah~blah~blah~blah.
    can anyone fic it?

  2. Monika
    Member
    Posted 6 years ago #

    <?php echo strip_tags(category_description()); ?>

    regards

    Monika

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags