This may be easey but I've been looking and can not figure it out.
I got the below from the codex...
<?php if (is_category('Category A')) { ?>
<p>This is the text to describe category A</p>
<?php } elseif (is_category('Category B')) { ?>
<p>This is the text to describe category B</p>
<?php } else { ?>
<p>This is some generic text to describe all other category pages,
I could be left blank</p>
<?php } ?>
Basically I want to continue to add to that but if I were to add..
<?php if (is_category('Category A')) { ?>
<p>This is the text to describe category A</p>
<?php } elseif (is_category('Category B')) { ?>
<p>This is the text to describe category B</p>
<em><?php } elseif (is_category('Category C')) { ?>
<p>This is the text to describe category C</p></em>
<?php } else { ?>
<p>This is some generic text to describe all other category pages,
I could be left blank</p>
<?php } ?>
it breaks it.
I want to use the above but need to add about 6 more categories.
How can I ad more statements to that code so I don't get errors?
Any help would be appreciated.
Jon