Terms Block

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

Author:HAMWORKS (profile at wordpress.org)
WordPress version required:5.6
WordPress version tested:5.8
Plugin version:1.0.0
Added to WordPress repository:18-09-2020
Last updated:20-08-2021
Rating, %:0
Rated by:0
Plugin URI:https://github.com/team-hamworks/terms-block
Total downloads:448
plugin download
Click to start download

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/terms-block-block-style.php
  2. template-parts/blocks/terms-block/terms-block.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;
}

ChangeLog