Skip to content
Create Blocks filtered by any post type and any categories, tags or custom taxonomy terms.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docker
languages
src
tests
.babelrc
.browserslistrc
.distignore
.editorconfig
.env
.eslintignore
.eslintrc.js
.gitignore
.npmrc
.phpcs.xml.dist
.travis.yml
Gruntfile.js
README.md
advanced-posts-blocks.php
composer.json
composer.lock
docker-compose.yml
package-lock.json
package.json
phpunit.xml.dist
readme.txt
webpack.config.js

README.md

Advanced Posts Blocks

Contributors: Toro_Unit
Donate link: https://www.paypal.me/torounit
Tags: posts, blocks
Requires at least: 5.0
Tested up to: 5.0
Requires PHP: 7.0
Stable tag: nightly
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

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

Description

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

Changelog

0.1.4

  • Bug fix.

0.1.0

  • first release.
You can’t perform that action at this time.