I am editing the content.php file in my 2012 child theme and am using:
<?php if ( is_front_page() || is_archive() || is_search() ) : // Only display Excerpts for Search, Archive and Home pages ?>
to display excerpts on my homepage. However at the top of the homepage their is a slideshow sticky post that does not display when using this code.
I have tried using alchymyths
<?php if ( !is_sticky()&&is_home() || is_front_page() || is_archive() || is_search() ) : // Only display excerpts for home, archives and search; but not for stickies on home. ?>
but it does not work, does anyone know how i can do this?