Plugin Directory

Changeset 3188506


Ignore:
Timestamp:
11/14/2024 09:50:27 AM (14 months ago)
Author:
nsp-code
Message:

Version: 1.8.7

Location:
taxonomy-terms-order
Files:
22 added
4 edited

Legend:

Unmodified
Added
Removed
  • taxonomy-terms-order/trunk/css/to.css

    r3146515 r3188506  
    88#order-terms ul.children {margin-left: 25px}
    99
    10 #order-terms #tto_sortable li > .item { padding: 2px 0px; margin: 4px 0px;  border: 1px solid #DDDDDD; cursor: move; -moz-border-radius:6px; background-color: #f9f9f9;}
     10#order-terms #tto_sortable li > .item { padding: 2px 0px; margin: 4px 0px;  border: 1px solid #DDDDDD; cursor: move; -moz-border-radius:6px; background-color: #f9f9f9; clear: both}
    1111#order-terms #tto_sortable li:nth-child(2n+1) > .item {    background-color: #fff !important;}
    12 #order-terms #tto_sortable li span { display: block; padding: 5px 10px; color:#555; font-size:13px;}
     12#order-terms #tto_sortable li span.title { display: inline-block; padding: 5px 10px; color:#555; font-size:13px;}
     13#order-terms #tto_sortable li span.actions {float: right; padding: 5px 10px;}
     14#order-terms #tto_sortable li span.actions a {text-decoration: none}
    1315#order-terms #tto_sortable li.placeholder{border: dashed 2px #ccc;height:30px; background-color: #FFF;}
    1416
  • taxonomy-terms-order/trunk/include/class.terms_walker.php

    r3146515 r3188506  
    3333                    else
    3434                        $indent = '';
    35 
    36                     //extract($args, EXTR_SKIP);
    37                     $taxonomy = get_taxonomy($term->term_taxonomy_id);
    38                     $output .= $indent . '<li class="term_type_li" id="item_'.$term->term_id.'"><div class="item"><span>'.apply_filters( 'to/term_title', $term->name, $term ).' </span></div>';
     35                   
     36                    $currentScreen = get_current_screen();
     37                   
     38                    $term_link  =   isset ( $currentScreen->post_type ) ?   get_edit_term_link( $term, $term->taxonomy, $currentScreen->post_type ) :   get_edit_term_link( $term );
     39                   
     40                    $output .= $indent . '<li class="term_type_li" id="item_'.$term->term_id.'"><div class="item"><span class="title">'.apply_filters( 'to/term_title', $term->name, $term ).' </span> <span class="actions"><a href="' . $term_link .'"><span class="dashicons dashicons-edit"></span></a></span></div>';
    3941                }
    4042
  • taxonomy-terms-order/trunk/readme.txt

    r3148530 r3188506  
    44Tags: category order,terms order, taxonomy order, categories sort
    55Requires at least: 2.8
    6 Tested up to: 6.6.1
    7 Stable tag: 1.8.6
     6Tested up to: 6.7
     7Stable tag: 1.8.7
    88
    99Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability.
     
    6060
    6161== Change Log ==
     62
     63= 1.8.7 =
     64 - CSS adjustments for span action section.
     65 - Option for term edit link.
     66 - Include the term edit link on the ReOrder interface.
     67 - Wordpress 6.7 compatibility check and tag update.
    6268
    6369= 1.8.6 =
  • taxonomy-terms-order/trunk/taxonomy-terms-order.php

    r3148530 r3188506  
    44* Plugin URI: http://www.nsp-code.com
    55* Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
    6 * Version: 1.8.6
     6* Version: 1.8.7
    77* Author: Nsp-Code
    88* Author URI: https://www.nsp-code.com
Note: See TracChangeset for help on using the changeset viewer.