Need <span> of text to appear in .archive but not .single posts. Help?

Hi everyone!

I’m a Wordpress newbie trying something un-basic. Help me out.

I’m building a corporate website using Wordpress as a baby-CMS. So far, it’s been great! My problem is this: currently we have press releases which are WP posts. The titles are like this:

<h2>January 2010: Something Important</h2>

When you click on that title on the category “page” it takes you to the single post. There, the client wants it to just say:

<h2>Something Important</h2>

No date! I thought this might be a case for “custom fields” but maybe I don’t understand what those are. I created one called “newsdate” and stuck it in my .archive file but it didn’t output anything. Anyone have a good solution for me?

You can also accomplish this by using custom fields. Here’s another article I wrote that might help with that.

http://www.1955design.com/2007/09/14/optimize-wordpress-page-headings/

Are the press releases the only posts you have? If so, just go in and change the single.php template to output the text you want rather than the title of the post, which it currently is doing.

If you will have other posts besides those press releases you can use a custom category template for the specific press release category. Check out this article I wrote a couple years ago which will show you how to do it.

http://www.1955design.com/2007/12/11/wordpress-category-page-templates/

Good luck!