Changeset 1710587
- Timestamp:
- 08/08/2017 10:30:46 PM (9 years ago)
- Location:
- adbutler/trunk
- Files:
-
- 3 edited
-
adbutler.php (modified) (1 diff)
-
includes/adbutler_widget.class (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adbutler/trunk/adbutler.php
r1688029 r1710587 5 5 Plugin URI: https://wordpress.org/plugins/adbutler 6 6 Description: AdButler ad management system integration plugin. Simplify deployment of your ad zones with this highly effective manner of deploying your publishing needs 7 Version: 1.1 37 Version: 1.14 8 8 Author: AdButler 9 9 Author URI: http://www.adbutler.com -
adbutler/trunk/includes/adbutler_widget.class
r1688019 r1710587 60 60 $instance['extra_data'] = sanitize_text_field($new_instance['extra_data']); 61 61 62 $instance['title'] = sanitize_text_field( $new_instance['title'] ); 62 63 63 64 $def = array( … … 98 99 $responsive_hidden = 'FIXED'; 99 100 $extra_data = ''; 101 $title = ''; 100 102 101 103 if ($instance) { … … 108 110 $responsive_hidden = esc_attr($instance['responsive']); 109 111 $extra_data = esc_attr($instance['extra_data']); 112 $title = esc_attr($instance['title']); 110 113 } 111 114 $responsive_type_list = array( … … 127 130 ?> 128 131 <div class="adbutler_widget"> 132 <p> 133 <label for="<?php echo $this->get_field_id('title'); ?>"> 134 <?php _e('Internal Title (only in Appearance->Widgets)'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /> 135 </label> 136 </p> 129 137 <p title="Please select from one of the available zones to configure your advertisement placement "> 130 138 <label -
adbutler/trunk/readme.txt
r1688029 r1710587 69 69 == Changelog == 70 70 71 *1.14 Some user have many instances of the widget on their site and with them all named "AdButler Widget" they are really hard to tell apart, but no longer! Now you can set a title for each widget, say "Cute Puppy Ad" which will be appended to the title so "AdButler Widget" becomes "AdButler Widget: Cute Puppy Ad" or whatever you happen to name it. So go give your widgets a title! 71 72 *1.13 Update tags, branding, and instructions. 72 73 *1.12 Compatability with plugins enhancement.
Note: See TracChangeset
for help on using the changeset viewer.