Changeset 2824582
- Timestamp:
- 11/26/2022 02:41:04 PM (3 years ago)
- Location:
- do-shortcode-widget-everywhere-wpshare247/trunk
- Files:
-
- 6 edited
-
do-shortcode-widget-everywhere-wpshare247.php (modified) (1 diff)
-
inc/wpshare247_pro_shortcode.php (modified) (1 diff)
-
languages/language.pot (modified) (1 diff)
-
languages/ws247-dswew-vi.mo (modified) (previous)
-
languages/ws247-dswew-vi.po (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
do-shortcode-widget-everywhere-wpshare247/trunk/do-shortcode-widget-everywhere-wpshare247.php
r2824438 r2824582 4 4 * Plugin URI: https://wpshare247.com/ 5 5 * Description: Do shortcode widget everywhere you want, in post, page constent, in content editor classic or Gutenberg hoac template wordpress as header.php, footer.php.... 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Wpshare247.com 8 8 * Author URI: https://wpshare247.com -
do-shortcode-widget-everywhere-wpshare247/trunk/inc/wpshare247_pro_shortcode.php
r2824438 r2824582 43 43 ); 44 44 $instance = wp_parse_args((array)$instance, $defaults); 45 46 $number = $wg_obj->number; 47 48 if($number=='__i__'){ 45 49 ?> 46 47 <strong>Shortcode</strong><br/> 48 <small>(<?php esc_html_e('Click on below code to copy shortcode and insert to post content', 'ws247-dswew');?>)</small><br/> 49 <?php 50 $wg_shortcode = '[wpshare247_pro_widget_html widget_id="'.$wg_obj->id.'"]'; 50 <p style="color:#f00;"><?php esc_html_e('You need to update first to receive shortcode', 'ws247-dswew');?></p> 51 <?php 52 }else{ 51 53 ?> 52 <p onClick="wpshare247_copy_shortcode(this);" title="<?php esc_html_e('Click me to copy shortcode', 'ws247-dswew');?>" class="wp-pro-bg" style="display:inline-block; border:1px solid #ccc; padding: 5px; cursor: copy; background: #ff9800 !important;color: #fff !important;"><?php echo esc_attr($wg_shortcode);?></p> 53 <br/> 54 <small>(<?php esc_html_e('Or click on below code to copy shortcode and insert php template: header.php hoặc footer.php ...etc', 'ws247-dswew');?>)</small><br/> 55 <pre onClick="wpshare247_copy_shortcode(this);" title="<?php esc_html_e('Click me to copy shortcode', 'ws247-dswew');?>" class="wp-pro-bg" style="display:inline-block; border:1px solid #ccc; padding: 5px; cursor: copy; background: #ff9800 !important;color: #fff !important;white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap; word-wrap: break-word; display:block;"><?php echo do_shortcode('[wpshare247_pro_widget_html id="<?php echo esc_attr($wg_obj->id); ?>"]'); ?></pre> 54 <strong>Shortcode</strong><br/> 55 <small>(<?php esc_html_e('Click on below code to copy shortcode and insert to post content', 'ws247-dswew');?>)</small><br/> 56 <?php 57 $wg_shortcode = '[wpshare247_pro_widget_html widget_id="'.$wg_obj->id.'"]'; 58 ?> 59 <p onClick="wpshare247_copy_shortcode(this);" title="<?php esc_html_e('Click me to copy shortcode', 'ws247-dswew');?>" class="wp-pro-bg" style="display:inline-block; border:1px solid #ccc; padding: 5px; cursor: copy; background: #ff9800 !important;color: #fff !important;"><?php echo esc_attr($wg_shortcode);?></p> 60 <br/> 61 <small>(<?php esc_html_e('Or click on below code to copy shortcode and insert php template: header.php hoặc footer.php ...etc', 'ws247-dswew');?>)</small><br/> 62 <pre onClick="wpshare247_copy_shortcode(this);" title="<?php esc_html_e('Click me to copy shortcode', 'ws247-dswew');?>" class="wp-pro-bg" style="display:inline-block; border:1px solid #ccc; padding: 5px; cursor: copy; background: #ff9800 !important;color: #fff !important;white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap; word-wrap: break-word; display:block;"><?php echo do_shortcode('[wpshare247_pro_widget_html id="<?php echo esc_attr($wg_obj->id); ?>"]'); ?></pre> 56 63 <?php 64 } 57 65 $retrun = null; 58 66 return array($wg_obj, $return, $instance); -
do-shortcode-widget-everywhere-wpshare247/trunk/languages/language.pot
r2824438 r2824582 30 30 msgid "To copy shortcode, your website must install SSL (https)" 31 31 msgstr "" 32 33 msgid "You need to update first to receive shortcode" 34 msgstr "" -
do-shortcode-widget-everywhere-wpshare247/trunk/languages/ws247-dswew-vi.po
r2824438 r2824582 3 3 "Project-Id-Version: \n" 4 4 "POT-Creation-Date: 2020-12-11 10:34+0700\n" 5 "PO-Revision-Date: 2022-11-2 5 08:23+0700\n"5 "PO-Revision-Date: 2022-11-26 21:36+0700\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 30 30 msgid "To copy shortcode, your website must install SSL (https)" 31 31 msgstr "Để copy được, Website bạn cần cài đặt https" 32 33 msgid "You need to update first to receive shortcode" 34 msgstr "Bạn cần cập nhật Widget trước để thấy shortcode" -
do-shortcode-widget-everywhere-wpshare247/trunk/readme.txt
r2824438 r2824582 6 6 Tested up to: 6.1.1 7 7 Requires PHP: 5.6 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 == Changelog == 41 41 42 = 1.0 =42 = 1.0.0 = 43 43 44 44 * Publishing plugin 45 45 46 = 1.0.1 = 47 48 * Fix bug widget added first time 49 46 50 == Upgrade Notice == 47 51
Note: See TracChangeset
for help on using the changeset viewer.