Plugin Directory

Changeset 3297721


Ignore:
Timestamp:
05/21/2025 02:57:09 AM (11 months ago)
Author:
Tarosky
Message:

Update to version 1.2.2 from GitHub

Location:
taro-taxonomy-blocks
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • taro-taxonomy-blocks/tags/1.2.2/readme.txt

    r3208360 r3297721  
    22
    33Tags: gutenberg, block editor, iframe 
    4 Contributors: tarosky, Takahashi_Fumiki 
    5 Tested up to: 6.4 
    6 Requires at least: 5.9 
    7 Requires PHP: 7.2 
    8 Stable Tag: 1.2.1
     4Contributors: tarosky, Takahashi_Fumiki, tswallie 
     5Tested up to: 6.8 
     6Stable Tag: 1.2.2
    97License: GPLv3 or later 
    108License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    119
    12 Add 3 term blocks.
     10Add term-related blocks. Suitable for classic or hybrid themes.
    1311
    1412== Description ==
     
    2220= Customization =
    2321
     22All blocks are customizable on the PHP layer.
     23
    2424 Template Structure
    2525
    26 To override look and feel, put template in your themes directory.
     26To override look and feel, put template files in your theme's directory.
    2727
    28 <pre>template-parts
    29 - taxonomy-blocks
    30   - posts-list.php             // List of post in post's terms query blocks.
    31   - post-loop.php              // Post link in post's terms query blocks.
    32   - term-item.php              // Term link.
    33   - term-list.php              // Flat term list.
    34   - term-list-hierarchical.php // Hierarchical terms list.</pre>
     28<pre>
     29your-theme-dir
     30- template-parts
     31  - taxonomy-blocks
     32    - posts-list.php             // List of post in post's terms query blocks.
     33    - post-loop.php              // Post link in post's terms query blocks.
     34    - term-item.php              // Term link.
     35    - term-list.php              // Flat term list.
     36    - term-list-hierarchical.php // Hierarchical terms list.
     37</pre>
    3538
    3639`taro_taxonomy_blocks_template` filter hook is also available.
     
    4043
    4144To override styles, regsiter styels named `taro-terms-block`.
    42 The plugin registers style at priority 20 of `init` hook, so registering style at priority 10.
     45The plugin registers style at priority 20 of `init` hook, so registering style at priority 10 or earlier.
    4346
    4447<pre>add_action( 'init', function() {
     
    7174== Changelog ==
    7275
     76= 1.2.2 =
     77
     78* Check compatibility to WordPress 6.8
     79* Fix order bug in term posts block.
     80
    7381= 1.2.1 =
    7482
  • taro-taxonomy-blocks/tags/1.2.2/taro-taxonomy-blocks.php

    r3208360 r3297721  
    11<?php
    22/**
    3 Plugin Name: Taro Taxonomy Blocks
    4 Plugin URI: https://wordpress.org/plugins/taro-taxonomy-blocks/
    5 Description: Add 3 taxonomy blockshh for block editor.
    6 Author: Tarosky INC.
    7 Version: 1.2.1
    8 Author URI: https://tarosky.co.jp/
    9 License: GPL3 or later
    10 License URI: https://www.gnu.org/licenses/gpl-3.0.html
    11 Text Domain: taro-taxonomy-blocks
    12 Domain Path: /languages
     3 * Plugin Name: Taro Taxonomy Blocks
     4 * Plugin URI: https://wordpress.org/plugins/taro-taxonomy-blocks/
     5 * Description: Add 3 taxonomy blockshh for block editor.
     6 * Author: Tarosky INC.
     7 * Version: 1.2.2
     8 * Requires at least: 5.9
     9 * Requires PHP: 7.2
     10 * Author URI: https://tarosky.co.jp/
     11 * License: GPL3 or later
     12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
     13 * Text Domain: taro-taxonomy-blocks
     14 * Domain Path: /languages
    1315 */
    1416
     
    129131        default:
    130132            return array_merge( $args, [
    131                 'ordeby'     => [
     133                'orderby'    => [
    132134                    'type'    => 'string',
    133135                    'default' => 'name',
     
    142144                ],
    143145                'hide_empty' => [
    144                     'type'    => 'bool',
     146                    'type'    => 'boolean',
    145147                    'default' => true,
    146148                ],
     
    215217    if ( $attributes['meta'] ) {
    216218        $term_args['meta_key'] = $attributes['meta'];
    217         $term_args['ordeby']   = 'meta_value';
    218     } else {
    219         $term_args['ordeby'] = $attributes['ordeby'];
     219        $term_args['orderby']  = 'meta_value';
     220    } else {
     221        $term_args['orderby'] = $attributes['orderby'];
    220222    }
    221223    $term_args['order'] = $attributes['order'];
  • taro-taxonomy-blocks/trunk/readme.txt

    r3208360 r3297721  
    22
    33Tags: gutenberg, block editor, iframe 
    4 Contributors: tarosky, Takahashi_Fumiki 
    5 Tested up to: 6.4 
    6 Requires at least: 5.9 
    7 Requires PHP: 7.2 
    8 Stable Tag: 1.2.1
     4Contributors: tarosky, Takahashi_Fumiki, tswallie 
     5Tested up to: 6.8 
     6Stable Tag: 1.2.2
    97License: GPLv3 or later 
    108License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    119
    12 Add 3 term blocks.
     10Add term-related blocks. Suitable for classic or hybrid themes.
    1311
    1412== Description ==
     
    2220= Customization =
    2321
     22All blocks are customizable on the PHP layer.
     23
    2424 Template Structure
    2525
    26 To override look and feel, put template in your themes directory.
     26To override look and feel, put template files in your theme's directory.
    2727
    28 <pre>template-parts
    29 - taxonomy-blocks
    30   - posts-list.php             // List of post in post's terms query blocks.
    31   - post-loop.php              // Post link in post's terms query blocks.
    32   - term-item.php              // Term link.
    33   - term-list.php              // Flat term list.
    34   - term-list-hierarchical.php // Hierarchical terms list.</pre>
     28<pre>
     29your-theme-dir
     30- template-parts
     31  - taxonomy-blocks
     32    - posts-list.php             // List of post in post's terms query blocks.
     33    - post-loop.php              // Post link in post's terms query blocks.
     34    - term-item.php              // Term link.
     35    - term-list.php              // Flat term list.
     36    - term-list-hierarchical.php // Hierarchical terms list.
     37</pre>
    3538
    3639`taro_taxonomy_blocks_template` filter hook is also available.
     
    4043
    4144To override styles, regsiter styels named `taro-terms-block`.
    42 The plugin registers style at priority 20 of `init` hook, so registering style at priority 10.
     45The plugin registers style at priority 20 of `init` hook, so registering style at priority 10 or earlier.
    4346
    4447<pre>add_action( 'init', function() {
     
    7174== Changelog ==
    7275
     76= 1.2.2 =
     77
     78* Check compatibility to WordPress 6.8
     79* Fix order bug in term posts block.
     80
    7381= 1.2.1 =
    7482
  • taro-taxonomy-blocks/trunk/taro-taxonomy-blocks.php

    r3208360 r3297721  
    11<?php
    22/**
    3 Plugin Name: Taro Taxonomy Blocks
    4 Plugin URI: https://wordpress.org/plugins/taro-taxonomy-blocks/
    5 Description: Add 3 taxonomy blockshh for block editor.
    6 Author: Tarosky INC.
    7 Version: 1.2.1
    8 Author URI: https://tarosky.co.jp/
    9 License: GPL3 or later
    10 License URI: https://www.gnu.org/licenses/gpl-3.0.html
    11 Text Domain: taro-taxonomy-blocks
    12 Domain Path: /languages
     3 * Plugin Name: Taro Taxonomy Blocks
     4 * Plugin URI: https://wordpress.org/plugins/taro-taxonomy-blocks/
     5 * Description: Add 3 taxonomy blockshh for block editor.
     6 * Author: Tarosky INC.
     7 * Version: 1.2.2
     8 * Requires at least: 5.9
     9 * Requires PHP: 7.2
     10 * Author URI: https://tarosky.co.jp/
     11 * License: GPL3 or later
     12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
     13 * Text Domain: taro-taxonomy-blocks
     14 * Domain Path: /languages
    1315 */
    1416
     
    129131        default:
    130132            return array_merge( $args, [
    131                 'ordeby'     => [
     133                'orderby'    => [
    132134                    'type'    => 'string',
    133135                    'default' => 'name',
     
    142144                ],
    143145                'hide_empty' => [
    144                     'type'    => 'bool',
     146                    'type'    => 'boolean',
    145147                    'default' => true,
    146148                ],
     
    215217    if ( $attributes['meta'] ) {
    216218        $term_args['meta_key'] = $attributes['meta'];
    217         $term_args['ordeby']   = 'meta_value';
    218     } else {
    219         $term_args['ordeby'] = $attributes['ordeby'];
     219        $term_args['orderby']  = 'meta_value';
     220    } else {
     221        $term_args['orderby'] = $attributes['orderby'];
    220222    }
    221223    $term_args['order'] = $attributes['order'];
Note: See TracChangeset for help on using the changeset viewer.