Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'genesis_pre_get_option_content_archive_limit', __NAMESPACE__ . '\set_content_archive_limit', 11, 1 );
- /**
- * Forces the Genesis > Settings > Content Archives > Limit Content value to
- * prevent an error with Events Calendar (v4.8.2) Archive pages in Genesis
- * themes.
- */
- function set_content_archive_limit() {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement