Posted By

justinscheetz on 02/03/09


Tagged

wordpress category categories description


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Bluewall
YA


Pull the Category Description ONLY if a description is available.


 / Published in: PHP
 

  1. <?php if (strlen(trim(category_description())) > 0 && trim(category_description()) != "<br />") {
  2. echo "<div id='catdesc'>";
  3. echo category_description();
  4. echo "</div>";
  5. }
  6. ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: on September 17, 2018

the 8 best 4k camera under 1000 http://the8best.com/best/the-8-best-4k-camera-under-1000

You need to login to post a comment.