anpsince83
Member
Posted 12 months ago #
In one of my page templates I'm calling get_featured_posts() function and using the loop method.
It is causing the is_home() function to return true on any page that uses this template. If I remove the YAFPP function call, is_home() then returns false like it should.
the plugin function may leave the original query_string altered and disturbed;
difficult to tell without disecting the whole plugin code.
to reset this, try to add wp_reset_query(); before your conditional statement.
anpsince83
Member
Posted 11 months ago #
alchymyth, that seemed to solve the issue. Thanks for the tip.