Changeset 2898244
- Timestamp:
- 04/13/2023 07:10:34 AM (16 months ago)
- Location:
- post-types-order
- Files:
-
- 27 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
post-types-order/trunk/include/class.cpto.php
r2890973 r2898244 253 253 $options = $this->functions->get_options(); 254 254 255 //if functionality turned off, continue 256 if( $options['archive_drag_drop'] != '1') 257 return; 258 255 259 256 //if adminsort turned off no need to continue 260 257 if( $options['adminsort'] != '1') -
post-types-order/trunk/include/class.functions.php
r2870026 r2898244 47 47 'adminsort' => 1, 48 48 'use_query_ASC_DESC' => '', 49 'archive_drag_drop' => 1,50 49 'capability' => 'manage_options', 51 50 'navigation_sort_apply' => 1, -
post-types-order/trunk/include/class.options.php
r2890973 r2898244 34 34 $options['adminsort'] = isset($_POST['adminsort']) ? intval($_POST['adminsort']) : ''; 35 35 $options['use_query_ASC_DESC'] = isset($_POST['use_query_ASC_DESC']) ? intval($_POST['use_query_ASC_DESC']) : ''; 36 $options['archive_drag_drop'] = isset($_POST['archive_drag_drop']) ? intval($_POST['archive_drag_drop']) : '';37 36 38 37 $options['navigation_sort_apply'] = isset($_POST['navigation_sort_apply']) ? intval($_POST['navigation_sort_apply']) : ''; … … 155 154 <td> 156 155 <p> 157 <input type="checkbox" <?php checked( '1', $options['archive_drag_drop'] ); ?> id="archive_drag_drop" value="1" name="archive_drag_drop"> 158 <?php esc_html_e("Allow sortable drag & drop functionality within default WordPress post type archive. Admin Sort need to be active.", 'post-types-order') ?>.</p> 156 <?php esc_html_e("Allow sortable drag & drop functionality within default WordPress post type archive. Admin Sort need to be active.", 'post-types-order') ?></p> 159 157 <br /> 160 158 <?php -
post-types-order/trunk/post-types-order.php
r2890973 r2898244 6 6 Author: Nsp Code 7 7 Author URI: http://www.nsp-code.com 8 Version: 2.0. 28 Version: 2.0. 9 9 Text Domain: post-types-order 10 10 Domain Path: /languages/ -
post-types-order/trunk/readme.txt
r2890973 r2898244 5 5 Requires at least: 2.8 6 6 Tested up to: 6.2 7 Stable tag: 2.0. 27 Stable tag: 2.0. 8 8 9 9 Sort Posts and custom Post Type Objects (custom post types) using a Drag and Drop Sortable JavaScript AJAX interface or default WordPress dashboard. … … 94 94 95 95 == Change Log == 96 97 98 96 99 97 100 = 2.0.2 =
Note: See TracChangeset
for help on using the changeset viewer.