Version Description
- Apply the order within admin if ignore_term_order argument is set and not true
- Compatibility tag update for WordPress 5.7
Download this release
Release Info
Developer | nsp-code |
Plugin | Category Order and Taxonomy Terms Order |
Version | 1.5.7.5 |
Comparing to | |
See all releases |
Code changes from version 1.5.7.4 to 1.5.7.5
- include/functions.php +3 -3
- include/options.php +2 -2
- readme.txt +9 -4
- taxonomy-terms-order.php +4 -4
include/functions.php
CHANGED
@@ -69,7 +69,7 @@
|
|
69 |
</div>
|
70 |
|
71 |
<div class="p_s_item s_t">
|
72 |
-
<a href="https://twitter.com/share" class="twitter-share-button" data-url="
|
73 |
</div>
|
74 |
|
75 |
<div class="clear"></div>
|
@@ -77,8 +77,8 @@
|
|
77 |
|
78 |
</div>
|
79 |
|
80 |
-
<p><?php _e( "Did you find this plugin useful? Please support our work with a donation or write an article about this plugin in your blog with a link to our site", 'taxonomy-terms-order' ) ?> <strong>
|
81 |
-
<h4><?php _e( "Did you know there is available an advanced version of this plug-in?", 'taxonomy-terms-order' ) ?> <a target="_blank" href="
|
82 |
<p><?php _e('Check our', 'taxonomy-terms-order') ?> <a target="_blank" href="https://wordpress.org/plugins/post-terms-order/">Post Terms Order</a> <?php _e('plugin which allow to custom sort categories and custom taxonomies terms per post basis', 'taxonomy-terms-order') ?> </p>
|
83 |
<p><?php _e( "Check our", 'taxonomy-terms-order' ) ?> <a target="_blank" href="https://wordpress.org/plugins/post-types-order/">Post Types Order</a> <?php _e( "plugin which allow to custom sort all posts, pages, custom post types", 'taxonomy-terms-order' ) ?> </p>
|
84 |
|
69 |
</div>
|
70 |
|
71 |
<div class="p_s_item s_t">
|
72 |
+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://www.nsp-code.com" data-text="Define custom order for your post types through an easy to use javascript AJAX drag and drop interface. No theme code updates are necessarily, this plugin will take care of query update." data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
|
73 |
</div>
|
74 |
|
75 |
<div class="clear"></div>
|
77 |
|
78 |
</div>
|
79 |
|
80 |
+
<p><?php _e( "Did you find this plugin useful? Please support our work with a donation or write an article about this plugin in your blog with a link to our site", 'taxonomy-terms-order' ) ?> <strong>https://www.nsp-code.com/</strong></p>
|
81 |
+
<h4><?php _e( "Did you know there is available an advanced version of this plug-in?", 'taxonomy-terms-order' ) ?> <a target="_blank" href="https://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-taxonomy-terms-order/"><?php _e( "Read more", 'taxonomy-terms-order' ) ?></a></h4>
|
82 |
<p><?php _e('Check our', 'taxonomy-terms-order') ?> <a target="_blank" href="https://wordpress.org/plugins/post-terms-order/">Post Terms Order</a> <?php _e('plugin which allow to custom sort categories and custom taxonomies terms per post basis', 'taxonomy-terms-order') ?> </p>
|
83 |
<p><?php _e( "Check our", 'taxonomy-terms-order' ) ?> <a target="_blank" href="https://wordpress.org/plugins/post-types-order/">Post Types Order</a> <?php _e( "plugin which allow to custom sort all posts, pages, custom post types", 'taxonomy-terms-order' ) ?> </p>
|
84 |
|
include/options.php
CHANGED
@@ -52,7 +52,7 @@ function to_plugin_options()
|
|
52 |
<option value="0" <?php if ($options['autosort'] == "0") echo 'selected="selected"'?>><?php _e('OFF', 'taxonomy-terms-order') ?></option>
|
53 |
<option value="1" <?php if ($options['autosort'] == "1") echo 'selected="selected"'?>><?php _e('ON', 'taxonomy-terms-order') ?></option>
|
54 |
</select>
|
55 |
-
<label for="autosort"> *(<?php _e( "global setting", 'taxonomy-terms-order' ) ?>) <?php _e( "Additional description and details at ", 'taxonomy-terms-order' ) ?><a target="_blank" href="
|
56 |
</td>
|
57 |
</tr>
|
58 |
|
@@ -63,7 +63,7 @@ function to_plugin_options()
|
|
63 |
<option value="0" <?php if ($options['adminsort'] == "0") echo 'selected="selected"'?>><?php _e('OFF', 'taxonomy-terms-order') ?></option>
|
64 |
<option value="1" <?php if ($options['adminsort'] == "1") echo 'selected="selected"'?>><?php _e('ON', 'taxonomy-terms-order') ?></option>
|
65 |
</select>
|
66 |
-
<label for="adminsort"><?php _e("This will change the order of terms within the admin interface", 'taxonomy-terms-order') ?>. <?php _e( "Additional description and details at ", 'taxonomy-terms-order' ) ?><a target="_blank" href="
|
67 |
</td>
|
68 |
</tr>
|
69 |
|
52 |
<option value="0" <?php if ($options['autosort'] == "0") echo 'selected="selected"'?>><?php _e('OFF', 'taxonomy-terms-order') ?></option>
|
53 |
<option value="1" <?php if ($options['autosort'] == "1") echo 'selected="selected"'?>><?php _e('ON', 'taxonomy-terms-order') ?></option>
|
54 |
</select>
|
55 |
+
<label for="autosort"> *(<?php _e( "global setting", 'taxonomy-terms-order' ) ?>) <?php _e( "Additional description and details at ", 'taxonomy-terms-order' ) ?><a target="_blank" href="https://www.nsp-code.com/taxonomy-terms-order-and-auto-sort-admin-sort-description-an-usage/"><?php _e( "Auto Sort Description", 'taxonomy-terms-order' ) ?></a></label>
|
56 |
</td>
|
57 |
</tr>
|
58 |
|
63 |
<option value="0" <?php if ($options['adminsort'] == "0") echo 'selected="selected"'?>><?php _e('OFF', 'taxonomy-terms-order') ?></option>
|
64 |
<option value="1" <?php if ($options['adminsort'] == "1") echo 'selected="selected"'?>><?php _e('ON', 'taxonomy-terms-order') ?></option>
|
65 |
</select>
|
66 |
+
<label for="adminsort"><?php _e("This will change the order of terms within the admin interface", 'taxonomy-terms-order') ?>. <?php _e( "Additional description and details at ", 'taxonomy-terms-order' ) ?><a target="_blank" href="https://www.nsp-code.com/taxonomy-terms-order-and-auto-sort-admin-sort-description-an-usage/"><?php _e( "Auto Sort Description", 'taxonomy-terms-order' ) ?></a></label>
|
67 |
</td>
|
68 |
</tr>
|
69 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: nsp-code
|
|
3 |
Donate link: http://www.nsp-code.com/donate.php
|
4 |
Tags: category order,terms order, taxonomy order, admin order, categories sort, order category
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.5.7.
|
8 |
|
9 |
Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
10 |
|
@@ -59,7 +59,12 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
59 |
|
60 |
== Change Log ==
|
61 |
|
|
|
|
|
|
|
|
|
62 |
= 1.5.7.4 =
|
|
|
63 |
- Compatibility tag update for WordPress 5.6
|
64 |
|
65 |
= 1.5.7.3 =
|
@@ -151,7 +156,7 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
151 |
- Brazilian Portuguese Language (Rafael Forcadell - www.rafaelforcadell.com.br)
|
152 |
|
153 |
= 1.3.6 =
|
154 |
-
- Traditional
|
155 |
- Minor admin styling
|
156 |
|
157 |
= 1.3.4 =
|
@@ -179,7 +184,7 @@ Make sure you get the latest version
|
|
179 |
|
180 |
== Localization ==
|
181 |
|
182 |
-
Available in English, Dutch, French, Deutch, Slovak, Japanese, Traditional
|
183 |
Whant to contribute with a translation to your language? Please check at https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order
|
184 |
|
185 |
There isn't any Editors for your native language on plugin Contributors? You can help to moderate! https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order/contributors
|
3 |
Donate link: http://www.nsp-code.com/donate.php
|
4 |
Tags: category order,terms order, taxonomy order, admin order, categories sort, order category
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 1.5.7.5
|
8 |
|
9 |
Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
10 |
|
59 |
|
60 |
== Change Log ==
|
61 |
|
62 |
+
= 1.5.7.5 =
|
63 |
+
- Apply the order within admin if ignore_term_order argument is set and not true
|
64 |
+
- Compatibility tag update for WordPress 5.7
|
65 |
+
|
66 |
= 1.5.7.4 =
|
67 |
+
- Fix: Call to undefined function wc_get_attribute_taxonomies()
|
68 |
- Compatibility tag update for WordPress 5.6
|
69 |
|
70 |
= 1.5.7.3 =
|
156 |
- Brazilian Portuguese Language (Rafael Forcadell - www.rafaelforcadell.com.br)
|
157 |
|
158 |
= 1.3.6 =
|
159 |
+
- Traditional Chinese Language (Danny - http://sofree.cc)
|
160 |
- Minor admin styling
|
161 |
|
162 |
= 1.3.4 =
|
184 |
|
185 |
== Localization ==
|
186 |
|
187 |
+
Available in English, Dutch, French, Deutch, Slovak, Japanese, Traditional Chinese, Brazilian Portuguese, Hungarian, Ukrainian, Czech and Romanian
|
188 |
Whant to contribute with a translation to your language? Please check at https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order
|
189 |
|
190 |
There isn't any Editors for your native language on plugin Contributors? You can help to moderate! https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order/contributors
|
taxonomy-terms-order.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
Plugin Name: Category Order and Taxonomy Terms Order
|
4 |
Plugin URI: http://www.nsp-code.com
|
5 |
Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
6 |
-
Version: 1.5.7.
|
7 |
Author: Nsp-Code
|
8 |
-
Author URI:
|
9 |
Author Email: electronice_delphi@yahoo.com
|
10 |
Text Domain: taxonomy-terms-order
|
11 |
Domain Path: /languages/
|
@@ -138,14 +138,14 @@ Domain Path: /languages/
|
|
138 |
if (isset($_GET['orderby']) && $_GET['orderby'] != 'term_order')
|
139 |
return $clauses;
|
140 |
|
141 |
-
if ($options['adminsort'] == "1")
|
142 |
$clauses['orderby'] = 'ORDER BY t.term_order';
|
143 |
|
144 |
return $clauses;
|
145 |
}
|
146 |
|
147 |
//if autosort, then force the menu_order
|
148 |
-
if ($options['autosort'] == 1 && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ))
|
149 |
{
|
150 |
$clauses['orderby'] = 'ORDER BY t.term_order';
|
151 |
}
|
3 |
Plugin Name: Category Order and Taxonomy Terms Order
|
4 |
Plugin URI: http://www.nsp-code.com
|
5 |
Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
|
6 |
+
Version: 1.5.7.5
|
7 |
Author: Nsp-Code
|
8 |
+
Author URI: https://www.nsp-code.com
|
9 |
Author Email: electronice_delphi@yahoo.com
|
10 |
Text Domain: taxonomy-terms-order
|
11 |
Domain Path: /languages/
|
138 |
if (isset($_GET['orderby']) && $_GET['orderby'] != 'term_order')
|
139 |
return $clauses;
|
140 |
|
141 |
+
if ( $options['adminsort'] == "1" && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ) )
|
142 |
$clauses['orderby'] = 'ORDER BY t.term_order';
|
143 |
|
144 |
return $clauses;
|
145 |
}
|
146 |
|
147 |
//if autosort, then force the menu_order
|
148 |
+
if ($options['autosort'] == "1" && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ) )
|
149 |
{
|
150 |
$clauses['orderby'] = 'ORDER BY t.term_order';
|
151 |
}
|