WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My site works with phrases and texts

In one category, the users send statements and debate about it. In another category, are sent statements and debate about them.

I would like to show only the title of the post into a certain category, since they are not phrases and content needs, just the title. in another category, the pots are usually shown, with title and content.

as might be the code in single.php

if you are in category X displays content and title Y if the category content is not displayed, only the title

share|improve this question
resolved, link : codex.wordpress.org/Category_Templates – Alyson Veras Aug 5 '11 at 10:51
If you have answered your own question please consider adding that information in the form of an answer and marking it correct(it will aid in keeping your acceptance rate up to). – t31os Aug 5 '11 at 10:58
up vote 0 down vote accepted

resolved, link : codex.wordpress.org/Category_Templates

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.