• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter anpsince83

    (@anpsince83)

    alchymyth, that seemed to solve the issue. Thanks for the tip.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YAFPP Causing is_home() to return true on a page’ is closed to new replies.