Changeset 3177533
- Timestamp:
- 10/28/2024 10:30:01 PM (17 months ago)
- Location:
- wordpress-tooltips/trunk
- Files:
-
- 6 edited
-
admin/glossaryglobalsettings.php (modified) (3 diffs)
-
asset/admin/css/admin.css (modified) (3 diffs)
-
directory/admin/admin.php (modified) (3 diffs)
-
directory/jobmamagerdirectoryshortcode.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
tooltips.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-tooltips/trunk/admin/glossaryglobalsettings.php
r3131069 r3177533 155 155 // end 9.8.9 156 156 157 //10.2.3 158 if (isset($_POST['hidezeronumberitem'])) 159 { 160 $hidezeronumberitem = sanitize_text_field($_POST['hidezeronumberitem']); 161 update_option("hidezeronumberitem", $hidezeronumberitem); 162 } 163 //end 10.2.3 164 157 165 $tooltipsMessageProString = __( 'Changes saved', 'wordpress-tooltips' ); 158 166 tooltipsMessage($tooltipsMessageProString); … … 176 184 $glossaryNumbersOrNot = get_option("glossaryNumbersOrNot"); 177 185 $hidecountnumberitem = get_option("hidecountnumberitem"); // !!! 7.8.1 186 //10.2.3 187 $hidezeronumberitem = get_option('hidezeronumberitem'); 178 188 ?> 179 189 <div class="wrap"> … … 621 631 </tr> 622 632 <?php // !!! end 9.7.9 ?> 633 <?php // !!! 10.2.3 ?> 634 <tr> 635 <td style='width:25%'> 636 <?php 637 echo __( 'Hide Nav letters have no item: ', 'wordpress-tooltips' ).'<span class="hidezeronumberitemforglossary">?</span>'; 638 ?> 639 <?php 640 $admin_tip = __('By default, all letters will shown in glossary Nav bar, you can select hidden letters which have no any tooltips associated with them.', "wordpress-tooltips"); 641 ?> 642 <script type="text/javascript"> 643 jQuery(document).ready(function () { 644 jQuery("span.hidezeronumberitemforglossary").hover(function () { 645 jQuery(this).append('<div class="glossary27"><p><?php echo $admin_tip; ?></p></div>'); 646 }, function () { 647 jQuery("div.glossary27").remove(); 648 }); 649 }); 650 </script> 651 </td> 652 653 <td style='width:25%'> 654 <?php 655 $hidezeronumberitem = get_option('hidezeronumberitem'); 656 ?> 657 <select id="hidezeronumberitem" name="hidezeronumberitem" style="width:98%;"> 658 <option id="hidezeronumberitemyOption" value="no" <?php if ($hidezeronumberitem == 'no') echo "selected"; ?>> <?php echo __('NO', "wordpress-tooltips") ?> </option> 659 <option id="hidezeronumberitemyOption" value="yes" <?php if ($hidezeronumberitem == 'yes') echo "selected"; ?>> <?php echo __('YES', "wordpress-tooltips") ?> </option> 660 </select> 661 </td> 662 663 <td style='width:25%'> 664 </td> 665 666 <td style='width:25%'> 667 </td> 668 </tr> 669 <?php // !!! end 9.7.9 ?> 670 671 <?php // end 10.2.3 ?> 623 672 </table> 624 673 <br /> -
wordpress-tooltips/trunk/asset/admin/css/admin.css
r3151847 r3177533 18 18 , span.questioncontactform7, span.questiontooltipformaxbutton, span.questionlinktooltiptermtotooltippage 19 19 , span.questionaccesstooltipwithtabkey, span.spanquestiontooltipforrightcolumnglossarytable 20 , span.questionenablegutenbergfortooltips 20 , span.questionenablegutenbergfortooltips, span.hidezeronumberitemforglossary 21 21 { 22 22 cursor: pointer; … … 45 45 , span.questiontooltipformaxbutton:hover, span.questionlinktooltiptermtotooltippage:hover 46 46 , span.questionaccesstooltipwithtabkey:hover, span.spanquestiontooltipforrightcolumnglossarytable:hover 47 , span.questionenablegutenbergfortooltips:hover 47 , span.questionenablegutenbergfortooltips:hover, span.hidezeronumberitemforglossary:hover 48 48 { 49 49 background-color: #21759b; … … 259 259 , div.glossary23, div.glossary24, div.glossary25, div.glossary26, div.glossary27, div.glossary28, div.glossary29 260 260 , div.glossarydisabletooltipsforglossary, div.questionglossarysearchable, div.glossary23, div.glossaryexcerptorcontent 261 , div.glossarybulkremovetermfromglossarylist 261 , div.glossarybulkremovetermfromglossarylist, div.glossary27 262 262 { 263 263 text-align: left; -
wordpress-tooltips/trunk/directory/admin/admin.php
r3163600 r3177533 75 75 memberdirectoryrolesetting_free(); 76 76 //9.4.3 77 job_board_directory_panel ();77 job_board_directory_panel_free(); 78 78 //end 9.4.3 79 79 woocommerce_product_directory_panel_free(); //9.1.7 … … 106 106 <div class="tab-pane fade navlink-2 " id="tab-2"> 107 107 <?php 108 job_board_directory_panel(); 108 //job_board_directory_panel(); 109 //10.1.9 110 job_board_directory_panel_free(); 109 111 ?> 110 112 </div> … … 383 385 384 386 //19.2.8 385 function job_board_directory_panel() 387 //function job_board_directory_panel() 388 //10.1.9 389 function job_board_directory_panel_free() 386 390 { 387 391 if (isset($_POST['jobboardDirectorySelect'])) -
wordpress-tooltips/trunk/directory/jobmamagerdirectoryshortcode.php
r3036292 r3177533 5 5 } 6 6 7 function job_listing_table_shortcode_pro($atts) 7 //job_listing_table_shortcode_pro 8 //10.1.9 9 function job_listing_table_shortcode_free($atts) 8 10 { 9 11 global $table_prefix,$wpdb,$post; … … 148 150 return $return_content; 149 151 } 150 add_shortcode( 'joblistingtable', 'job_listing_table_shortcode_pro',10 ); 151 add_shortcode( 'jobmanagerdirectory', 'job_listing_table_shortcode_pro',10 ); 152 153 154 //add_shortcode( 'joblistingtable', 'job_listing_table_shortcode_pro',10 ); 155 //add_shortcode( 'jobmanagerdirectory', 'job_listing_table_shortcode_pr',10 ); 156 //10.1.9 157 add_shortcode( 'joblistingtable', 'job_listing_table_shortcode_free',10 ); 158 add_shortcode( 'jobmanagerdirectory', 'job_listing_table_shortcode_free',10 ); 152 159 153 160 //!!! 14.0.4 154 function disabletooltipforjob_listingdirectory() 161 //function disabletooltipforjob_listingdirectory() 162 //10.1.9 163 function disabletooltipforjob_listingdirectory_free() 155 164 { 156 165 $tooltipforleftcolumnglossarytable = get_option("tooltipforleftcolumnglossarytable"); … … 199 208 200 209 } 201 add_action('wp_footer','disabletooltipforjob_listingdirectory'); 202 210 //add_action('wp_footer','disabletooltipforjob_listingdirectory'); 211 //10.1.9 212 add_action('wp_footer','disabletooltipforjob_listingdirectory_free'); 213 -
wordpress-tooltips/trunk/readme.txt
r3172336 r3177533 309 309 310 310 == Changelog == 311 = Version 10.2.3 = 312 >[How to Hide Letters Without Items in Glossary](https://tooltips.org/how-to-hide-letters-without-items-in-glossary-wordpress-tooltips-free-10-2-3/) 313 314 = Version 10.1.9 = 315 Improved codes of tooltip tags and directory functions 316 311 317 = Version 10.1.3 = 312 318 >[Enhancing the WordPress Tooltips Plugin with Tag Support, WordPress Tooltips Pro Plus 33.0.8, WordPress Tooltips Pro 20.4.4, WordPress Tooltips Free 10.1.3](https://tooltips.org/enhancing-the-wordpress-tooltips-plugin-with-tag-support-wordpress-tooltips-pro-plus-33-0-8-wordpress-tooltips-pro-20-4-4-wordpress-tooltips-free-10-1-3/) -
wordpress-tooltips/trunk/tooltips.php
r3172336 r3177533 4 4 Plugin URI: https://tooltips.org/features-of-wordpress-tooltips-plugin/ 5 5 Description: Wordpress Tooltips,You can add text,image,link,video,radio in tooltips, add tooltips in gallery. More amazing features? Do you want to customize a beautiful style for your tooltips? One Minute, Check <a href='https://tooltips.org/features-of-wordpress-tooltips-plugin/' target='_blank'> Features of WordPress Tooltips Pro</a>. 6 Version: 10. 1.36 Version: 10.2.3 7 7 Author: Tomas | <a href='https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltip-plugin-document/' target='_blank'>Docs</a> | <a href='https://tooltips.org/faq/' target='_blank'>FAQ</a> | <a href='https://tooltips.org/contact-us' target='_blank'>Premium Support</a> 8 8 Author URI: https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltips-demo/ … … 119 119 $enablegutenbergfortooltips = get_option('enablegutenbergfortooltips'); 120 120 //end 10.1.3 121 //10.1.9 122 if (empty($enablegutenbergfortooltips)) 123 { 124 $enablegutenbergfortooltips == 'NO'; 125 } 121 126 122 127 if ($enablegutenbergfortooltips == 'NO') … … 141 146 else 142 147 { 148 /* 143 149 $args = array( 144 150 'label' => 'Categories', … … 159 165 ); 160 166 //end 31.4.8 support gutenberg 167 */ 168 //10.1.9 169 $args = array( 170 'label' => 'Tags', 171 'labels' => $taglabels, 172 'public' => true, 173 'hierarchical' => false, 174 'show_ui' => true, 175 'show_in_nav_menus' => true, 176 'show_in_rest' => true, 177 'args' => array( 178 'orderby' => 'term_order' 179 ), 180 'rewrite' => array( 181 'slug' => 'tooltips_tags', 182 'with_front' => false 183 ), 184 'query_var' => true 185 ); 161 186 } 162 187 register_taxonomy('tooltips_tag', 'tooltips', $args); … … 1893 1918 //!!! end 7.9.7 1894 1919 } 1895 update_option('ztooltipversion','10. 1.3');1920 update_option('ztooltipversion','10.2.3'); 1896 1921 } 1897 1922 add_action( 'init', 'upgrade_check'); … … 2430 2455 if (empty($choseLanguageForGlossary)) $choseLanguageForGlossary = 'en'; 2431 2456 2457 // !!! 10.2.3 2458 $hidezeronumberitem = get_option('hidezeronumberitem'); 2459 if (empty($hidezeronumberitem)) 2460 $hidezeronumberitem = 'no'; 2461 // end 10.2.3 2462 2432 2463 $enableLanguageCustomization = get_option("enableLanguageCustomization"); 2433 2464 if (empty($enableLanguageCustomization)) $choseLanguageForGlossary = 'en'; … … 2445 2476 * 7.9.3 2446 2477 * inboxs['language'] = "<?php echo $choseLanguageForGlossary; ?>"; 2478 * 10.2.3 2479 * inboxs['hidezeronumberitem'] = "<?php echo $hidezeronumberitem; ?>"; 2447 2480 */ 2448 2481 ?> … … 2450 2483 var inboxs = new Array(); 2451 2484 inboxs['language'] = "<?php echo esc_attr($choseLanguageForGlossary); ?>"; 2485 inboxs['hidezeronumberitem'] = "<?php echo $hidezeronumberitem; ?>"; 2452 2486 inboxs['navitemselectedsize'] = '18px'; 2453 2487 inboxs['selectors'] = '.tooltips_list > span';
Note: See TracChangeset
for help on using the changeset viewer.