Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Exclude date (in kicker) in all categories except one

Old Sep 25, 2010, 05:37 PM
5 posts · Sep 2010

I'm trying to find some way to hide the date in the post kicker in all categories except one. Any advice?
I'm using WP 3.0.1 and Atahualpa 3.4.9.
Old Sep 25, 2010, 05:52 PM
juggledad's Avatar
23,614 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Use this
HTML Code:
<?php if (!in_category('7')) { ?> %date('F j, Y, #a#t g:i a')% <?php }; ?>
And put in the category I'd yiu don't want it to show on
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Sep 26, 2010, 04:53 PM
5 posts · Sep 2010
Thank you so much! That worked perfectly. I added "array" for multiple categories:

(!in_category (array('7', '8', '9')))


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclude widgets from sidebar deanw Sidebars & Widgets 2 Oct 24, 2010 07:50 AM
[SOLVED] Categories: Half my Categories Items are Missing from Menu on Page/Posts Steady Hand Page & Category Menu Bars 5 Jun 29, 2010 02:03 PM
exclude certain tags/categories from post info items jankph Post-Kicker, -Byline & -Footer 1 Nov 11, 2009 06:35 AM
Exclude categories from %categories_linked% bodger Post-Kicker, -Byline & -Footer 1 Oct 19, 2009 06:12 AM
disable links in category menu for parent categories (only childless categories link) qcook2000 Page & Category Menu Bars 0 May 15, 2009 09:09 PM

All times are GMT -6. The time now is 04:44 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.