Not really following the problem.
But the category page is the categories.php template. Does your theme have this template?
I’m on twenty ten theme so it’s the default. Yes, I do have the category.php template.
Okay I’ll try to rex-plain the problem.
I want url.com/category to have static content as well as a list of category posts.
Currently url.com/category uses the default template and just shows a list of categories. So I made a static page and used a plug-in to list my category posts on that page. The url, however, is url.com/staticpage.
Does that make more sense?
Make a post in that category and make it sticky so it shows up on top being your static content?
WP Burn,
I’m not sure what making it sticky means. Also, I’m hoping to fix this the right way and not just put a band aid on it, if that’s what you’re recommending.
You can check out the site: www. sea buck thorn insider .com
Simply put:
myurl.com/health-benefits is my category and all posts are shown. If i click on a post, it’s url is health-benefits/post. So that’s all great.
If I click on my top navigation link health benefits, it goes to myurl.com/sbt-health-benefits which is a static page I made to tell about the category before listing all the posts. I would prefer this to simply be myurl.com/health-benefits so clicking on the category’s posts doesn’t change the url path.
Sticky is a normal option above your publish button under visibility.
You select that and that one post would remain on the top of the category page while other posts will rotate down as you post more.
I don’t want it to stick to my front page though since it’s just a default blog on my front page. Will making it stick do this?
Do you make use of category descriptions?
$category_description = category_description();
if ( ! empty( $category_description ) )
echo '<div class="archive-meta">' . $category_description . '</div>';
that bit of code from 2010’s category.php makes me think that if you fill out the category description for each cat, it will be displyed on the correspoding category archive page
Or is that not robust enough for your needs?
While that may be the case, and I haven’t tried it yet, it’s not quite robust enough for my boss’s needs. : )
We have a short write-up, cross links, and an image for each category. Feel free to view the link above. Just remove the spaces.
I’m quite sure Joomla and other CMS packages can handle this. The goal is simple: to have a clean and easy to follow url structure.
myurl.com/health benefits/ health benefit post
myurl.com/education/ educational post
myurl.com/buying guide/ buying guide post
etc.