Plugin does not work if other types are included in main loop
-
In FrontPageCats::bad_post_type() the code checks that the query contains posts and only posts. I opted to include events (using The Event Calendar plugin) in my main loop, and this plugin stopped working. When I edit bad_post_type() so that it checks that posts are included, but no longer rejects a query that contains additional post types, it works again. Is there a reason that the plugin is limited to affecting only one post type?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin does not work if other types are included in main loop’ is closed to new replies.