function order_core_archive_list()
-
This function’s use in pre_get_posts() was MODIFYING the secondary loops that I was using in the sidebar on the /glossary/ archive page. In order to use “Recent Posts” widgets on the /glossary/ archive (where glossary order set to alpha) I modified line 132 of wpg.class.php to test for is_main_query() as follows:
if ( ($query->is_main_query() && ( is_post_type_archive('glossary') || is_tax('wpglossarygroup')) )):
The topic ‘function order_core_archive_list()’ is closed to new replies.