Ensure front-end hooks are only registered on main query
View options
- Truncate descriptions
nc3man reported on Mattermost and StackExchange that the Benevolent Pro theme makes a sub-query prior to the main query. This unsets get_query_var( 'page' )
and thus the CiviCRM basepage fails to render CiviCRM content.
The solution is to ensure that front-end hooks are only registered on main query. PR to follow.
- Show labels
- Show closed items