Wtyczka nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa. Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością z nowszymi wersjami WordPressa.

Taro Taxonomy Blocks

Opis

This plugin supports 3 term blocks.

  1. Terms Block – Display all terms in the specified taxonomy. Usefull to display terms list like glossary.
  2. Post’s Terms Block – Display terms assigned to the post in the specified taxonomy.
  3. Post’s Terms Query Block – Display post list with same terms with the post.

Customization

All blocks are customizable on the PHP layer.

Template Structure

To override look and feel, put template files in your theme’s directory.

your-theme-dir
- template-parts
  - taxonomy-blocks
    - posts-list.php             // List of post in post's terms query blocks. 
    - post-loop.php              // Post link in post's terms query blocks. 
    - term-item.php              // Term link.
    - term-list.php              // Flat term list.
    - term-list-hierarchical.php // Hierarchical terms list.
taro_taxonomy_blocks_template filter hook is also available.

This will override the template file path.

Styles

To override styles, regsiter styels named taro-terms-block.
The plugin registers style at priority 20 of init hook, so registering style at priority 10 or earlier.

add_action( 'init', function() {
    // Your own CSS.
    wp_register_style( 'taro-terms-block', $your_block_css_url, $deps, $version );
} );

Now your blocks will be styled by your CSS.

Bloki

Wtyczka dodaje 3 bloki.

  • Terms
  • Post Terms
  • Post Terms Query

Instalacja

From Plugin Repository

Click install and activate it.

From Github

See releases.

Najczęściej zadawane pytania

Where can I get supported?

Please create new ticket on support forum.

How can I contribute?

Create a new issue or send pull requests.

Recenzje

2022-02-23
Took me ages to find a plugin that creates a block to display custom taxonomies of a post. This one does exactly what I needed. Thank you!
Przeczytaj 1 recenzje

Kontrybutorzy i deweloperzy

„Taro Taxonomy Blocks” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Wtyczka „Taro Taxonomy Blocks” została przetłumaczona na 1 język. Podziękuj tłumaczom za ich wkład.

Przetłumacz wtyczkę “Taro Taxonomy Blocks” na swój język.

Interesuje cię rozwój wtyczki?

Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.

Rejestr zmian

1.2.2

  • Check compatibility to WordPress 6.8
  • Fix order bug in term posts block.

1.2.1

  • Fix translations.

1.2.0

  • Drop support under PHP 7.2
  • Add support for advanced class setting in the editor.

1.1.2

  • Add filter for taxonomies list in selector.

1.1.0

  • Post terms query block accepts manually input term list.

1.0.0

  • First release.