Support » Plugins and Hacks » Stripping the_content() – but only one category

  • I found this little piece of code in the Codex to strip the_content(); from, well, everything but the title.

    <?php
    if ($single) {
    the_content();
    }
    else {//no content, nothing.
    }
    `?>

    Is there a way to apply this to only one category, and have the others listed as usual?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripping the_content() – but only one category’ is closed to new replies.