Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Kicker for sticky posts only?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 27, 2010, 11:59 AM
anishinaboy
 
8 posts · Jun 2010
[SOLVED] Kicker for sticky posts only?

Hi,

Is it possible to have custom text in the kicker appear only in sticky posts? I would like to have my sticky posts say "Featured Post"?

Great theme!
  #2  
Old Jun 27, 2010, 12:23 PM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Try this, surround the items in the kicker with '<?php if (is_sticky()) {' and '} ?>'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 27, 2010, 12:47 PM
anishinaboy
 
8 posts · Jun 2010
This would be in "Style & Edit CENTER COLUMN' under 'The LOOP' where it says, '<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>'?
  #4  
Old Jun 27, 2010, 04:27 PM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
That's even better. I was still asleep (that's my story an d I'm sticking to it)
Use this
HTML Code:
<?php if (is_sticky()) { bfa_post_kicker('<div class="post-kicker">','</div>'); } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 27, 2010, 04:33 PM
anishinaboy
 
8 posts · Jun 2010
Worked beautifully, thanks!!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Remove the Icon Sticky.gif in Sticky Posts lexsisney Center area post/pages 1 Apr 16, 2010 01:27 PM
[SOLVED] Sexy Bookmarks and Sticky posts ksmith101 Plugins & Atahualpa 7 Mar 14, 2010 11:20 AM
[SOLVED] Remove byline or kicker when post is sticky? blueprairie Installing & running WordPress 6 Oct 24, 2009 11:00 AM
[SOLVED] Posts marked sticky don't show up with sticky formatting genevieve Atahualpa 3 Wordpress theme 12 Jun 30, 2009 08:06 AM


All times are GMT -6. The time now is 01:41 AM.


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