Want to display <span> of text in .archive but not in .single
-
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?
- The topic ‘Want to display <span> of text in .archive but not in .single’ is closed to new replies.