Add Category/Tag/Date/etc... to Page Tops
I apologize if this has been answered elsewhere in advance - I did try to search my way through and came up empty.
I am trying to add a title to a multi-post page, like the Category name, or the Tag name, when someone clicks on a Category or a Tag. I think I'm close - if I understand the theme correctly, the spot this *should* go in would be in the "Style and edit CENTER COLUMN" section, in the "Content ABOVE the LOOP" area. The problem is I see no method of telling the theme I want that listed at the top. I'm starting to think I need some sort of PHP code and pull in a variable from WordPress itself - however I don't know WordPress well enough to even know where to dig up that information. I noticed that this information is *sort of* listed in the actual title of the page (at the top of the browser window) although things like Dates I'd like to format a little nicer. Is there a method of doing this? Am I just missing a simple option somewhere? Thank you very much for anyone who can help! |
So I may have answered my own question. I looked in to another Theme with the category titles in it correctly and dug out the following code:
Code:
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> |
Hey, I have no idea how to get this to work. Can you break this down into a couple steps on how I can implement this into my site? I want to make one of my categories into a page.
|
All times are GMT -6. The time now is 08:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.