Advanced Posts Blocks

Create Blocks filtered by any post type and any categories, tags or custom taxonomy terms.

Add Custom Dynamic Blocks for Render Post and Posts.

Posts Block

Posts Block filtered post type. (ex. post, page) and filter posts by multiple categories, tags or custom taxonomy terms.

Override template by your theme. if template-parts/blocks/advanced-posts-blocks/posts.php exists in your theme, replace default view.

Post Block

Single Post/Page Block.

Override template by your theme. if template-parts/blocks/advanced-posts-blocks/post.php exists in your theme, replace default view.

Children Block

Children Posts Blocks.

Override template by your theme. if template-parts/blocks/advanced-posts-blocks/children.php exists in your theme, replace default view.

Override Template

Support template hierarchy. The templates are searched in the following order.

  1. template-parts/blocks/advanced-posts-blocks/{Block_Type}/{postType}-{style}.php
  2. template-parts/blocks/advanced-posts-blocks/{Block_Type}/{postType}.php
  3. template-parts/blocks/advanced-posts-blocks/{Block_Type}-{style}.php
  4. template-parts/blocks/advanced-posts-blocks/{Block_Type}.php

Block_Type is posts, post or children.

Credits

0.1.0

  • first release.