Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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?


  #1  
Old Jun 27, 2010, 12:59 PM
anishinaboy
 
8 posts · Jun 2010
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, 01:23 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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, 01: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, 05:27 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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, 05:33 PM
anishinaboy
 
8 posts · Jun 2010
Worked beautifully, thanks!!

Bookmarks



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 02:27 PM
[SOLVED] Sexy Bookmarks and Sticky posts ksmith101 Plugins & Atahualpa 7 Mar 14, 2010 12:20 PM
[SOLVED] Remove byline or kicker when post is sticky? blueprairie Installing & running WordPress 6 Oct 24, 2009 12:00 PM
[SOLVED] Posts marked sticky don't show up with sticky formatting genevieve Atahualpa 3 Wordpress theme 12 Jun 30, 2009 09:06 AM


All times are GMT -6. The time now is 12:03 PM.


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