Changeset 3287898
- Timestamp:
- 05/05/2025 02:44:33 PM (11 months ago)
- Location:
- wordpress-tooltips/trunk
- Files:
-
- 4 edited
-
admin/glossaryglobalsettings.php (modified) (3 diffs)
-
asset/admin/css/admin.css (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
tooltips.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-tooltips/trunk/admin/glossaryglobalsettings.php
r3246780 r3287898 125 125 } 126 126 //end 7.8.1 127 128 //10.6.3 129 if (isset($_POST['glossaryCategoryLink'])) 130 { 131 $enableGlossaryCategoryLink = sanitize_text_field($_POST['glossaryCategoryLink']); 132 update_option("enableGlossaryCategoryLink",$enableGlossaryCategoryLink); 133 } 134 //end 10.6.3 135 127 136 //!!! 7.7.7 128 137 if (!(empty($glossaryIndexPageTermFontSize))) … … 225 234 //10.5.9 226 235 $enableGlossaryCatNameUnderTerm = get_option("enableGlossaryCatNameUnderTerm"); 236 //10.6.3 237 $enableGlossaryCategoryLink = get_option('enableGlossaryCategoryLink'); 227 238 ?> 228 239 <div class="wrap"> … … 820 831 </select> 821 832 </td> 822 <td style='width:25%'> 823 </td> 824 825 <td style='width:25%'> 826 </td> 833 834 <td style='width:25%'> 835 <?php 836 echo __( 'Glossary Category linking:', 'wordpress-tooltips' ).'<span class="questionglossarycategorylink">?</span>'; 837 ?> 838 <?php 839 $admin_tip = __('linking the category name of a glossary item to the category archive page under glossary term in glossary list', "wordpress-tooltips"); 840 ?> 841 <script type="text/javascript"> 842 jQuery(document).ready(function () { 843 jQuery("span.questionglossarycategorylink").hover(function () { 844 jQuery(this).append('<div class="divquestionglossarycategorylink"><p><?php echo $admin_tip; ?></p></div>'); 845 }, function () { 846 jQuery("div.divquestionglossarycategorylink").remove(); 847 }); 848 }); 849 </script> 850 </td> 851 852 <td style='width:25%'> 853 <?php 854 $enableGlossaryCategoryLink = get_option('enableGlossaryCategoryLink'); 855 ?> 856 <select id="glossaryCategoryLink" name="glossaryCategoryLink" style="width:98%;"> 857 <option id="enableGlossaryCategoryLinkOption" value="yes" <?php if ($enableGlossaryCategoryLink == 'yes') echo "selected"; ?>> <?php echo __('YES', "wordpress-tooltips") ?> </option> 858 <option id="enableGlossaryCategoryLinkOption" value="no" <?php if ($enableGlossaryCategoryLink == 'no') echo "selected"; ?>> <?php echo __('NO', "wordpress-tooltips") ?> </option> 859 </select> 860 </td> 861 827 862 </tr> 828 863 <?php -
wordpress-tooltips/trunk/asset/admin/css/admin.css
r3246780 r3287898 20 20 , span.questionenablegutenbergfortooltips, span.hidezeronumberitemforglossary, span.questionglossaryinnewwindow 21 21 , span.questionreadmoreinnewwindow, span.spanquestionglossarycatnameunderterm 22 , span.questionglossarycategorylink 22 23 { 23 24 cursor: pointer; … … 48 49 , span.questionenablegutenbergfortooltips:hover, span.hidezeronumberitemforglossary:hover 49 50 , span.questionglossaryinnewwindow:hover, span.questionreadmoreinnewwindow:hover 50 , span.spanquestionglossarycatnameunderterm:hover 51 , span.spanquestionglossarycatnameunderterm:hover, span.questionglossarycategorylink:hover 51 52 { 52 53 background-color: #21759b; … … 60 61 , div.divquestiontooltipforrightcolumnglossarytable, div.divenablegutenbergfortooltips 61 62 , div.divquestionglossaryinnewwindow, div.divquestionreadmoreinnewwindow, div.divquestionglossarycatnameunderterm 63 , div.divquestionglossarycategorylink 62 64 { 63 65 text-align: left; … … 80 82 , .divquestiontooltipforrightcolumnglossarytable:before, .divenablegutenbergfortooltips:before 81 83 , .divquestionglossaryinnewwindow:before, div.divquestionreadmoreinnewwindow:before 82 .divquestionglossarycatnameunderterm:before 84 .divquestionglossarycatnameunderterm:before, .divquestionglossarycategorylink:before 83 85 { 84 86 border-color: transparent #21759b transparent transparent; … … 104 106 , .divenablegutenbergfortooltips p, .divquestionglossaryinnewwindow p 105 107 , .divquestionreadmoreinnewwindow p, .divquestionglossarycatnameunderterm p 108 , .divquestionglossarycategorylink p 106 109 { 107 110 margin: 10px; -
wordpress-tooltips/trunk/readme.txt
r3246780 r3287898 5 5 Tags:tooltip,glossary,dictionary,woocommerce,knowledge base 6 6 Requires at least: 3.8 7 Tested up to: 6. 7.27 Tested up to: 6.8.1 8 8 Stable tag:trunk 9 9 License: GPLv3 or later … … 309 309 310 310 == Changelog == 311 = Version 10.6.3 = 312 >[Creating a Seamless Learning Experience -- Linking Glossary Terms to Categories, WordPress Tooltips Free Plugin 10.6.3 Released](https://tooltips.org/creating-a-seamless-learning-experience-linking-glossary-terms-to-categories-wordpress-tooltips-free-plugin-10-6-3-released/) 313 311 314 = Version 10.5.9 = 312 315 >[Customizing Your Glossary: Adding WordPress Tooltip Categories Under Item Titles](https://tooltips.org/customizing-your-glossary-adding-wordpress-tooltip-categories-under-item-titles-wordpress-tooltips-free-plugin-10-5-9-released/) -
wordpress-tooltips/trunk/tooltips.php
r3246780 r3287898 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. 5.96 Version: 10.6.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/ … … 10 10 License: GPLv3 or later 11 11 */ 12 /* Copyright 2011 - 202 4Tomas Zhu12 /* Copyright 2011 - 2025 Tomas Zhu 13 13 This program comes with ABSOLUTELY NO WARRANTY; 14 14 https://www.gnu.org/licenses/gpl-3.0.html … … 1918 1918 //!!! end 7.9.7 1919 1919 } 1920 update_option('ztooltipversion','10. 5.9');1920 update_option('ztooltipversion','10.6.3'); 1921 1921 } 1922 1922 add_action( 'init', 'upgrade_check');
Note: See TracChangeset
for help on using the changeset viewer.