About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Works like a charm, Thanks Shidhar!
Thanks for this – I had a ribbon working when I used WooThemes Canvas but not since I changed to Genesis.
I have breadcrumbs enabled and the ribbon displays above the post content, at the height of the breadcrumbs.
See: http://www.blanchcentrehistory.com/2013/02/kfc/
I tried changing the add_action to ‘genesis_entry_header’ but that did not change it. I cannot figured out where Genesis_Breadcrumbs are invoked – they are called in ‘genesis_before_loop’ (a deprecated action!).
=========
Changes:
add_action( ‘genesis_before_entry’, ‘sk_display_new_ribbon’ );
to
add_action( ‘genesis_entry_header’, ‘sk_display_new_ribbon’, 1 );
and
.single-post .content
to
.single-post .type-post
Update: The first half of my comment was written before I figured out the Changes part. I got it working at the url shows the working version.