🎲 A light-weight WordPress plugin to assign & query posts and custom post types based on their primary taxonomy.
GPL-3.0 License
spc_primary_term_posts
.spc_display_primary_term_posts
to display the queried posts in your theme.Argument | Description | Default |
---|---|---|
term |
Term ID or name. | |
taxonomy |
(Optional) Taxonomy name. | null |
post_type |
(Optional) Custom Post Type. | post |
post_status |
(Optional) Post status. | publish |
posts_per_page |
(Optional) Number of posts per page. | 10 |
Gutenberg
Classic Editor
GPL2+ Ashar Irfan.