In Genesis Slack chat a user wanted to know how entries of a specific custom taxonomy term can be excluded from a Custom Post Type archive page in Genesis.
We can remove the standard loop from a project
CPT archive's template and replace it with a custom one in which genesis_custom_loop()
can be sent an array of wp_query args to not include entries belonging to internal
term of project_type
custom taxonomy.
Before:
After:
Create a file named archive-project.php in your child theme directory having the following:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.