وضاحت
This plugin supports 3 term blocks.
- Terms Block – Display all terms in the specified taxonomy. Usefull to display terms list like glossary.
- Post’s Terms Block – Display terms assigned to the post in the specified taxonomy.
- Post’s Terms Query Block – Display post list with same terms with the post.
Customization
Template Structure
To override look and feel, put template in your themes directory.
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.
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.
بلاڪس
جمع: هي پلگ ان 3 بلاڪس مهيا ڪري ٿو.
- Terms
- Post Terms
- Post Terms Query
FAQ
-
Where can I get supported?
-
Please create new ticket on support forum.
-
How can I contribute?
-
Create a new issue or send pull requests.
جائزا
تعاون ڪندڙ & ڊولپرز
“Taro Taxonomy Blocks” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙواحد: “Taro Taxonomy Blocks” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.
ترجمو ڪريو “Taro Taxonomy Blocks” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
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.