Home Plugins terms block
Terms Block logo

Terms Block

by Toro_Unit (Hiroshi Urabe) on WordPress.org

Term list block. Displays a list of all terms in the selected taxonomy.

(4)

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.

  1. template-parts/blocks/terms-block/block-nameblock-style.php
  2. 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;
}
Active installations50+
Weekly downloads
23+9.52%
Version2.1.0
Last updated9/6/2023
WordPress version6.0
Tested up to6.3.5
PHP version7.4
Tags
blockgutenbergterm
Terms Block | Plugin0