![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I'm referring to the Post Meta at the end of a post, where it displays "Filed Under CATEGORY/CATEGORIES | Tagged with TAG/S" As not all posts on the site I'm developing will have tags assigned, can I drop off (conditionally) the last half of the post meta info, so that if the post has no tags, it only shows "Filed Under Category" without the rest? Then, for posts that do have tags, it would also then display the " | Tagged with TAGS" section. Eg here: http://www.mbrgroup.com.au/blog/insp...ess-quotes-ii/ (I'm only still just getting the site setup and running over Easter, so there's only 3 posts so far). On that page, I'd prefer it not to show "| Tagged with" and no tags -- but I don't want to manually create a second template, as I'd have to assign it each time a post is made ... PHP would be able to handle having a conditional display of this part of the Post Meta, yes? The only thing is, my PHP knowledge is very limited in terms of creating what's needed, and a search of the forum hasn't helped so far. Thanks, Dean |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use Optional Manual Exerpt in Theme | totallysoccer | General Discussion | 8 | 05-31-2010 04:35 AM |
| Optional Page Title | growdough | General Discussion | 2 | 03-07-2010 01:38 PM |
| Optional or Default Featured Image | eurasiarc | General Discussion | 1 | 01-20-2009 10:06 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us