Terms Block

描述

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;
}

Blocks

This plugin provides 1 block.

  • Terms Displays a list of all terms in the selected taxonomy.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Terms Block” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Terms Block 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Tested on WordPress 5.8.

0.2.0

  • Add terms_block_get_terms_arguments filter.
  • Tested on WordPress 5.6.

0.0.5

  • First release.

0.0.1

  • Internal release.