OK, I will try to explain a little better. As I said I AM NO CODEX WIZ>
I have created a few HTML Blocks (intro’s) that I want to include at the beginning (before the list of posts) as the different category pages load.
here is what I want to say
<?php if (is_category(‘Category A’)) : ?>
<?php get( $ abc.html ); ?>
Elseif (is_category(‘Category B’)) : ?>
<?php get( $ xyz.html ); ?>
Elseif (is_category(‘Category c’)) : ?>
<?php get( $ 123.html ); ?>
Elseif (is_category(‘Category d’)) : ?>
<?php get( $ 456.html ); ?>
<?php endif; ?>
Am I close/ can anyone fix this for me?
I believe it will go into category.php?? formatted with .css and a DIV tag.?
Thank You in advance.
michael
OK, If anyone is interested I figured it out. Here is the actual code for category.php
>>>>>>
<?php if (in_category(’16’) && is_category() )
include(TEMPLATEPATH.’/news-tease.html’); ?>
<?php if (in_category(‘6’) && is_category() )
include(TEMPLATEPATH.’/pastors-prospective.html’); ?>
<?php if (in_category(’39’) && is_category() )
include(TEMPLATEPATH.’/guest-tease.html’); ?>
<?php if (in_category(‘101’) && is_category() )
include(TEMPLATEPATH.’/vantage-tease.html’); ?>
>>>>>>>>>
here is the actual category 16 /news-tease.html file
>>>>>>>>>>>>
<h3 align=”center”>In the News</h3>
<h4 align=”left”>This section of our website contains stories that our editors actually found in other national newspapers and periodicals. Some are actual “News” while most are just human interest stories we found uplifting. We hope you enjoy these and if you come across a “Good News” story in your local paper that you would like to share with other believers please send us the link. </h4>
<hr />
You can see it here .. http://goodnewsandpraise.com/category/the-news/