Changeset 3186731
- Timestamp:
- 11/12/2024 09:06:15 PM (17 months ago)
- Location:
- wordpress-tooltips/trunk
- Files:
-
- 3 edited
-
addons/tooltips_languages.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
tooltips.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-tooltips/trunk/addons/tooltips_languages.php
r3036292 r3186731 69 69 } 70 70 71 72 //10.3.3 73 if (isset($_POST['tooltipLanguageReadMeSubmit'])) 74 { 75 check_admin_referer ( 'tooltipslanguagenonce' ); 76 $tooltipLanguageReadMe = sanitize_text_field($_POST['tooltipLanguageReadMe']); 77 78 update_option('tooltipLanguageReadMe', $tooltipLanguageReadMe); 79 tooltipsMessage('Language of "Read More" has been changed'); 80 } 81 82 $tooltipLanguageReadMe = get_option('tooltipLanguageReadMe'); 83 if (empty($tooltipLanguageReadMe)) 84 { 85 $tooltipLanguageReadMe = 'Read More'; 86 } 87 //end 10.3.3 88 71 89 $glossaryLanguageCustomNavALL = get_option('glossaryLanguageCustomNavALL'); 72 90 if (empty($glossaryLanguageCustomNavALL)) … … 110 128 111 129 tooltips_free_language_setting_panel($title, $content); 130 131 //start 10.3.3 132 $title = 'Custom "Read More" in the excerpt paragraph -- this "Read More" will only appear when users decide to use the excerpt as the content in glossary '; 133 $content = ''; 134 135 $tooltipLanguageReadMe = get_option('tooltipLanguageReadMe'); 136 if (empty($tooltipLanguageReadMe)) 137 { 138 $tooltipLanguageReadMe = "Read More"; 139 } 140 141 $content .= '<form class="formTooltips" name="formTooltips" action="" method="POST">'; 142 $content .= wp_nonce_field ( 'tooltipslanguagenonce'); 143 $content .= '<table id="tableTooltips" width="100%">'; 144 145 $content .= '<tr style="text-align:left;">'; 146 $content .= '<td width="25%" style="text-align:left;">'; 147 $content .= 'Custom "Read More" in Tooltips Excerpt: '; 148 $content .= '</td>'; 149 $content .= '<td width="30%" style="text-align:left;">'; 150 $content .= '<input type="text" style="width:300px;" id="tooltipLanguageReadMe" name="tooltipLanguageReadMe" value="'. $tooltipLanguageReadMe .'" required placeholder="More Details">'; 151 $content .= '</td>'; 152 $content .= '<td width="30%" style="text-align:left;">'; 153 $content .= '<input type="submit" class="button-primary" id="tooltipLanguageReadMeSubmit" name="tooltipLanguageReadMeSubmit" value=" Submit ">'; 154 $content .= '</td>'; 155 $content .= '</tr>'; 156 157 $content .= '</table>'; 158 $content .= '</form>'; 159 tooltips_free_language_setting_panel($title, $content); 160 //end 10.3.3 112 161 } -
wordpress-tooltips/trunk/readme.txt
r3177533 r3186731 5 5 Tags:tooltip,glossary,dictionary,woocommerce,knowledge base 6 6 Requires at least: 3.8 7 Tested up to: 6.6. 27 Tested up to: 6.6.5 8 8 Stable tag:trunk 9 9 License: GPLv3 or later … … 309 309 310 310 == Changelog == 311 = Version 10.3.3 = 312 >[New option in the 'Custom Language' panel](https://tooltips.org/new-option-in-the-custom-language-panel-wordpress-tooltips-free-10-3-3-has-been-released/) 313 311 314 = Version 10.2.3 = 312 315 >[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/) -
wordpress-tooltips/trunk/tooltips.php
r3177533 r3186731 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. 2.36 Version: 10.3.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/ … … 1918 1918 //!!! end 7.9.7 1919 1919 } 1920 update_option('ztooltipversion','10. 2.3');1920 update_option('ztooltipversion','10.3.3'); 1921 1921 } 1922 1922 add_action( 'init', 'upgrade_check'); … … 2412 2412 { 2413 2413 $m_content = wp_trim_excerpt('',$single->ID); 2414 2415 //10.3.3 start 2416 $m_content_full = $single->post_content ; 2417 //10.3.3 end 2418 2414 2419 if (empty($single->post_excerpt)) 2415 2420 { 2416 $m_content = wp_trim_excerpt('',$single->ID); 2421 // before 10.3.3 $m_content = wp_trim_excerpt('',$single->ID); 2422 //10.3.3 start 2423 $tooltipLanguageReadMe = get_option('tooltipLanguageReadMe'); 2424 if (empty($tooltipLanguageReadMe)) 2425 { 2426 $tooltipLanguageReadMe = 'Read More'; 2427 } 2428 $excerpt_more = tt_excerpt_more_free($single->ID,$tooltipLanguageReadMe); 2429 $excerpt_length = 55; 2430 $m_content = tt_wp_trim_words_free($m_content_full, $excerpt_length, $excerpt_more); 2431 //10.3.3 end 2417 2432 } 2418 2433 else
Note: See TracChangeset
for help on using the changeset viewer.