سرجمیں
Term list block. Displays a list of all terms in the selected taxonomy.
You can change the display by placing a template file in your theme.
- template-parts/blocks/terms-block/
block-name–block-style.php - template-parts/blocks/terms-block/
block-name.php
Filter for get_terms.
add_filter( 'terms_block_get_terms_arguments', 'my_filter', 10, 3 );
function my_filter( $args, $taxonomy, $attributes ) {
$args = array_merge( $args, array( 'orderby' => 'order' ) );
return $args;
}بلاک
اے پلگ ان 3 بلاک ءِ دات کنت۔
- Terms Displays a list of all terms in the selected taxonomy.
- Assigned Terms Displays a list of assigned terms in the selected taxonomy.
- Terms (Deprecated) Displays a list of all terms in the selected taxonomy. (Deprecated)
جائزہ
کمک کنوک & دیمروئی کنوک
“Terms Block” اوپن سورس سافٹ ویئر اِنت۔ اے پلگ ان ءِ تہا رند ءِ مردماں وتی کرد پیلو کتگ۔
کمک کار“Terms Block” ءَ وتی زبان ءَ رجانک کن اِت۔
دیمروئی ءِ تہا دلچسپی داریت؟
کڈ ءَ براؤز کن اِت، SVN ءِ ذخیرہ ءَ بچار اِت، یا دیمروئی ءِ لاگ ءَ RSS ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔
چینج لاگ
2.1.0
- support WordPress 6.3.
- fix for deprecated parameters in get_terms.
2.0.3
- use get_block_wrapper_attributes
2.0.2
- use @wordpress/server-side-render
2.0.0
- add assigned terms block
- rename terms-block to terms
1.0.0
- Tested on WordPress 5.8.
0.2.0
- Add
terms_block_get_terms_argumentsfilter. - Tested on WordPress 5.6.
0.0.5
- First release.
0.0.1
- Internal release.