Changeset 1280920
- Timestamp:
- 11/06/2015 06:49:03 AM (10 years ago)
- Location:
- handsome-testimonials/trunk
- Files:
-
- 7 edited
-
handsometestimonials.php (modified) (2 diffs)
-
includes/hndtst_post-type.php (modified) (1 diff)
-
includes/js/admin-scripts.js (modified) (4 diffs)
-
includes/settings_getting_started.php (modified) (1 diff)
-
includes/single-handsometestimonials.php (modified) (1 diff)
-
includes/tst_shortcode_generator.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
handsome-testimonials/trunk/handsometestimonials.php
r1260835 r1280920 3 3 Plugin URI: http://handsomeapps.io 4 4 Description: Create Testimonials with Style 5 Version: 1. 2.15 Version: 1.3 6 6 Author: Handsome Apps 7 7 License: GPLv2 or later … … 47 47 include(TSTMT_PLUGIN_DIR . '/includes/tst_shortcode_generator.php'); //Testimonial Shortcode Generator UI 48 48 include(TSTMT_PLUGIN_DIR . '/includes/tst_dragdrop.php'); //Testimonial Shortcode Generator UI 49 include(TSTMT_PLUGIN_DIR . '/includes/tst_widget.php'); //Testimonial Widget 49 50 include(TSTMT_PLUGIN_DIR . '/includes/admin-alerts.php'); //Admin Alerts 50 51 include(TSTMT_PLUGIN_DIR . '/includes/emailpointer.php'); //Email Collection Pointer -
handsome-testimonials/trunk/includes/hndtst_post-type.php
r1260799 r1280920 39 39 'supports' => array( 'title', 'thumbnail', 'page-attributes' ), 40 40 'hierarchical' => false, 41 'rewrite' => array( 'slug' => 'testimonial' ),41 'rewrite' => array( 'slug' => 'testimonial' ), 42 42 'public' => false, 43 43 'show_ui' => true, -
handsome-testimonials/trunk/includes/js/admin-scripts.js
r1260799 r1280920 2 2 //---------- Insert Shortcode Popup Form ----------// 3 3 //Collect information from Insert Testimonial popup, insert into the TinyMCE editor 4 var hndtst_shortcode; 4 5 5 6 function insertHndtst_Code(){ 6 7 7 8 // set up variables to contain our input values 9 //var id = jQuery('#tst-tst_id').val(); 8 10 var id = jQuery('#tst_single option:selected').val(); 9 11 var template = jQuery('#tst-template').val(); … … 151 153 }); 152 154 153 154 //Testimonial Search Box for Shortcode UI155 $('.hndtst-tst-search').keyup(function(){156 var tst_search = $(this).val();157 158 $('.hndtst-ajax').show(); //Show ajax gif159 160 data = {161 action: 'hndtst_tst_search',162 hndtst_tst: tst_search,163 hndtst_nonce: hndtst_tst_vars.hndtst_tst_nonce164 };165 $.ajax({166 type: "POST",167 data: data,168 dataType: "json",169 url: ajaxurl,170 success: function( search_response ) {171 $('.hndtst-ajax').hide(); //Hide ajax gif172 173 $('#hndtst_tst_search_results').html(''); //Clear div first174 175 if(search_response.id == 'found') {176 $(search_response.results).appendTo('#hndtst_tst_search_results');177 } else if (search_response.id == 'fail') {178 $('#hndtst_tst_search_results').text(search_response.msg);179 }180 181 }182 });183 184 });185 186 187 //Populate Search Box on click of results from search query above188 $('body').on('click.hndtstSearchTestimonial', '#hndtst_tst_search_results a', function(e) {189 e.preventDefault();190 191 var tst_id = $(this).data('tst_id');192 var testimonial = $(this).data('testimonial');193 194 $('#tst-tst_id').val(tst_id);195 $('#hndtst_tst').val(testimonial);196 $('#hndtst_tst_search_results').html('');197 });155 //FEATURE REMOVE - AJAX Search Box 156 // //Testimonial Search Box for Shortcode UI 157 // $('.hndtst-tst-search').keyup(function(){ 158 // var tst_search = $(this).val(); 159 160 // $('.hndtst-ajax').show(); //Show ajax gif 161 162 // data = { 163 // action: 'hndtst_tst_search', 164 // hndtst_tst: tst_search, 165 // hndtst_nonce: hndtst_tst_vars.hndtst_tst_nonce 166 // }; 167 // $.ajax({ 168 // type: "POST", 169 // data: data, 170 // dataType: "json", 171 // url: ajaxurl, 172 // success: function( search_response ) { 173 // $('.hndtst-ajax').hide(); //Hide ajax gif 174 175 // $('#hndtst_tst_search_results').html(''); //Clear div first 176 177 // if(search_response.id == 'found') { 178 // $(search_response.results).appendTo('#hndtst_tst_search_results'); 179 // } else if (search_response.id == 'fail') { 180 // $('#hndtst_tst_search_results').text(search_response.msg); 181 // } 182 183 // } 184 // }); 185 186 // }); 187 188 189 // //Populate Search Box on click of results from search query above 190 // $('body').on('click.hndtstSearchTestimonial', '#hndtst_tst_search_results a', function(e) { 191 // e.preventDefault(); 192 193 // var tst_id = $(this).data('tst_id'); 194 // var testimonial = $(this).data('testimonial'); 195 196 // $('#tst-tst_id').val(tst_id); 197 // $('#hndtst_tst').val(testimonial); 198 // $('#hndtst_tst_search_results').html(''); 199 // }); 198 200 199 201 … … 203 205 var update_preview = function update_preview() { 204 206 205 varhndtst_shortcode = insertHndtst_Code();207 hndtst_shortcode = insertHndtst_Code(); 206 208 207 209 data = { … … 251 253 $('select').on('change.hndtstChangeField', update_preview); 252 254 253 255 // Save Instance Options 256 $('#save_instance_options').click(function(){ 257 //$('#design_options').html(hndtst_shortcode); 258 var hndtst_saved_instance_title = $('#saved_instance_title').val(); 259 data = { 260 action: 'hndtst_design_options', 261 hndtst_design_options: hndtst_shortcode, 262 hndtst_design_options_name: hndtst_saved_instance_title 263 }; 264 265 // We can also pass the url value separately from ajaxurl for front end AJAX implementations 266 $.post(ajaxurl, data, function(response) { 267 $('#design_options').html(response); 268 }); 269 }); 254 270 255 271 }); //End jQuery(document) -
handsome-testimonials/trunk/includes/settings_getting_started.php
r1260799 r1280920 7 7 8 8 <div class="wrap"> 9 <div style="width: 700px; float: left;"><!-- Column 1 --> 10 <h2><?php echo 'Getting Started</h2>'; ?> 9 <h2><?php echo 'Getting Started</h2>'; ?> 10 11 <?php 12 // if ( 'true' == esc_attr( $_GET['updated'] ) ) echo '<div class="updated" ><p>Theme Settings updated.</p></div>'; 11 13 12 <?php 13 if ( isset ( $_GET['tab'] ) ) htst_getstarted_tabs($_GET['tab']); else htst_getstarted_tabs('getstarted'); 14 ?> 15 16 <div id="poststuff"> 17 <?php 14 if ( isset ( $_GET['tab'] ) ) htst_getstarted_tabs($_GET['tab']); else htst_getstarted_tabs('getstarted'); 15 ?> 16 17 <div id="poststuff"> 18 <?php 19 20 if ( $pagenow == 'edit.php' && $_GET['page'] == 'htst_getting_started' ){ 21 22 if ( isset ( $_GET['tab'] ) ) $tab = $_GET['tab']; 23 else $tab = 'getstarted'; 18 24 19 if ( $pagenow == 'edit.php' && $_GET['page'] == 'htst_getting_started' ){ 20 21 if ( isset ( $_GET['tab'] ) ) $tab = $_GET['tab']; 22 else $tab = 'getstarted'; 25 echo '<table class="form-table">'; 26 switch ( $tab ){ 27 case 'getstarted' : 28 ?> 29 <h2>Thanks for trying out Handsome Testimonials!</h2> 30 31 <p>As a way to say thanks, we'd like to offer you our <b>Tried & True Testimonial Request Template</b> for collecting testimonials from your clients. 32 We've used this exact template to send to hundreds of our past clients for all of our companies and it's succeeded at encouraging the 33 majority of our clients to send us their testimonials.</p> 34 35 <p>Once you receive our Tried & True Testimonial Request Template, just insert you or your company's name and email 36 it out to either 37 your mailing list or any past clients.</p> 38 39 <h3>Great testimonials should start coming back.</h3> 40 41 42 <h4>Join Our Email List Below to Receive Our <i>Tried & True Testimonial Request Template</i></h4> 43 <p> 44 <?php echo file_get_contents( TSTMT_PLUGIN_DIR. "/assets/email-optin.html" ); ?> 45 </p> 46 <?php 47 break; 48 case 'howtouse' : 49 ?> 50 <h2>How to Display Testimonials</h2> 51 <a href="http://handsomeapps.io/knowledgebase_category/handsome-testimonials/" target="blank"><img src= "<?php echo TSTMT_PLUGIN_URL . '/assets/images/view_video_tutorials.png"' ?> align="right" /></a> 52 <h4>The Easy Way</h4> 53 <ol style="padding-left:20px"> 54 <li>Add a new testimonial by going to Dashboard->Testimonials->Add New</li> 55 <li>Now go to the post or page you want to insert your testimonial on and click the <b>Insert Testimonial</b> button</li> 56 <li>Customize your testimonial to your liking and click the Generate Shortcode</li> 57 </ol> 58 59 <h4>The Manual Way</h4> 60 <ol style="padding-left:20px"> 61 <li>Add a new testimonial by going to Testimonials->Add New. Make note of the id by viewing Testimonials->All Testimonials</li> 62 <li>Paste the following shortcode anywhere in a post or page with the appropriate id.</li> 63 <li>Customize your testimonial to your liking using the <a href="https://wordpress.org/plugins/handsome-testimonials/faq/" target="blank">shortcode arguments</a> below to your shortcode</li> 64 <li><b>Example: [handsometestimonial id=""]</b></li> 65 </ol> 66 67 <h4>Shortcode Option Arguments</h4> 68 <ul style="padding-left:30px"> 69 <li>id="" - Testimonial ID to display (note: if included, overrides list or rotate feature)</li> 70 <li>rotate="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (yes/no) Rotate between all available testimonials or specified testimonial category (note: 'id' argument must be absent to work)</li> 71 <li>list="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (yes/no) List all available testimonials or specified testimonial category (note: 'id' argument must be absent to work)</li> 72 <li>category="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - Testimonial Category ID to list or rotate between (doesn't affect single testimonials)</li> 73 <li>template="" - Choose Template</li> 74 <li>img_shadow="" - (yes/no) Testimonial image shadow</li> 75 <li>img_round="" - (yes/no) Make Testimonial image round instead of square</li> 76 <li>img_size="" - (px/%) - Size for testimonial image</li> 77 <li>img_align="" - (left/center/right) - Set alignment for testimonial image</li> 78 <li>img_loc="" - (before/after) - Set testimonial image before or after testimonial text</li> 79 <li>title_color="" - - Color of title</li> 80 <li>title_size="" - (px/em) - Font size of title</li> 81 <li>tst_color="" - (hex) - Color of testimonial body text</li> 82 <li>tst_size="" - (px/em) - Font size of body text</li> 83 <li>txt_align="" - (left/center/right) - Set alignment of all text in testimonial block</li> 84 <li>subtitle_color="" - (hex) - Color of subtitle text</li> 85 <li>subtitle_size="" - (px/em) - Font size of subtitle text</li> 86 <li>subtitle_italic="" - (yes/no) - Make subtitle italic</li> 87 <li>border="" - Choose whether to have a boder around testimonial block</li> 88 <li>border_width="" - (px/em) - Border width if border is enabled</li> 89 <li>border_color="" - (hex) - Color of boder around testimonial block</li> 90 <li>bg_color="" - (hex) - Color of background</li> 91 <li>round_corners="" - (yes/no) - Round corners for testimonial block</li> 92 <li>width="" - (px/%) - Width of testimonial block</li> 93 <li>height="" - (px/%) - Height of testimonial block</li> 94 <li>align="" - (left/center/right) - alignment of testimonial block</li> 95 <li>star_ratings="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (yes/no) - Display star ratings</li> 96 <li>transition_interval="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (5) - Set the number of seconds between rotation of testimonials (Default: 5)</li> 97 <li>random="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (yes/no) - Set rotating testimonials to rotate in random order vs. sequential</li> 98 <li>text_limit="" - <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Only</a> - (0) - Set the number of characters limit on testimonial's text (Default: none i-e 0)</li> 99 </ul> 100 101 <h2>Display Testimonials in Widgets</h2> 102 <ol style="padding-left:20px"> 103 <li>Go to a post or page</li> 104 <li>Click the <b>Insert Testimonial</b> button to bring up the testimonial customizer</li> 105 <li>Customize your testimonial to your preferences</li> 106 <li>Type a name that you'll remember in the box below the preview called 'Save Widget Instance' and press Save</li> 107 <li>go to your Widgets area in your Wordpress admin area and drag the widget named <b>Handsome Testimonials Widget</b> to your sidebar or footer</li> 108 </ol> 109 110 <h2>How to Display a Testimonial Submission Form</h2> 111 <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank">PRO Version Only</a> 112 <ul style="padding-left:20px"> 113 <li>Paste the following shortcode anywhere in a post or page with the appropriate id: [handsometestimonial_form]</li> 114 <li>To further customize your testimonial to your liking adding the following shortcode arguments into the code:</li> 115 116 <h3>Shortcode Options: Required Fields</h3> 117 <li>require_image="" - (yes/no) Require testifier image (Default: no)</li> 118 <li>require_position="" - (yes/no) Require testifier's position or title (Default: no)</li> 119 <li>require_url="" - (yes/no) Require Website URL (Default: no)</li> 120 <li>require_rating="" - (yes/no) Require star ratings (Default: no)</li> 121 <li>hide_image="" - (yes/no) Hide image field (Default: no)</li> 122 <li>hide_position="" - (yes/no) Hide title field (Default: no)</li> 123 <li>hide_url="" - (yes/no) Hide Website URL field (Default: no)</li> 124 <li>hide_rating="" - (yes/no) Hide star ratings field (Default: no)</li> 125 126 <h3>Shortcode Options: Customizing Form Text</h3> 127 <li>form_title="" - Change form title (default: Leave a Testimonial)</li> 128 <li>testifier="" - Change placeholder (ghosttext) text for 'Name'</li> 129 <li>position="" - Change placeholder (ghosttext) text for 'Title'</li> 130 <li>url="" - Change placeholder (ghosttext) text for 'Website'</li> 131 <li>rating="" - Change placeholder (ghosttext) text for 'Select Rating'</li> 132 <li>short_test="" - Change placeholder (ghosttext) text for 'Testimonial'</li> 133 <li>button_text="" - Change text for 'Submit Testimonial' button</li> 134 <li>response_text="" - Change text for 'Thank you for your submission!' button</li> 135 136 <p><b><li>Example: [handsometestimonial_form form_title="Send Us Feedback" hide_rating="yes"]</li></b></p> 137 </ul> 138 139 <?php 140 break; 141 case 'faqs' : 142 ?> 143 144 <h2>Can I use this in Sidebar Widgets?</h2> 145 Absolutely. Go to a post or page. Click the <b>Insert Testimonial</b> button which will bring up the testimonial customizer. Go ahead and customize your testimonial 146 the way you want it and when finished, enter a name in the box below the preview called 'Save Widget Instance' and press Save. Then go to your Widgets area 147 in your Wordpress admin area and drag the widget named <b>Handsome Testimonials Widget</b> 148 149 150 <h2>How do I change the displayed image size of the testimonial?</h2> 151 You can designate a specific pixel size or % by using the shortcode option: img-size="" For example: [handsometestimonial id="5" img-size="50px"] 23 152 24 echo '<table class="form-table">'; 25 switch ( $tab ){ 26 case 'getstarted' : 27 ?> 28 <h2>Thanks for trying out Handsome Testimonials!</h2> 29 30 <p>As a way to say thanks, we'd like to offer you our <b> Testimonial Request Template</b> for collecting testimonials from your clients. 31 We've used this exact template to send to hundreds of our past clients for all of our companies and it's succeeded at encouraging the 32 majority of our clients to send us their testimonials.</p> 33 34 <p>Once you receive our Testimonial Request Template, just insert you or your company's name and email 35 it out to either 36 your mailing list or any past clients.</p> 37 38 <h3>Great testimonials should start coming back.</h3> 39 40 41 <h4>Join Our Email List Below to Receive Our Tried & True <i>Testimonial Request Template</i></h4> 42 <p> 43 <?php echo file_get_contents( TSTMT_PLUGIN_DIR. "/assets/email-optin.html" ); ?> 44 </p> 45 <?php 46 break; 47 case 'howtouse' : 48 ?> 49 <h2>How do I display a testimonials I've entered on my site?</h2> 50 <h4>The Easy Way</h4> 51 <ol style="padding-left:20px"> 52 <li>Add a new testimonial by going to Dashboard->Testimonials->Add New</li> 53 <li>Now go to the post or page you want to insert your testimonial on and click the <b>Insert Testimonial</b> button</li> 54 <li>Customize your testimonial to your liking and click the Generate Shortcode</li> 55 </ol> 56 57 <h4>The Manual Way</h4> 58 <ul style="padding-left:20px"> 59 <li>Add a new testimonial by going to Testimonials->Add New. Make note of the id by viewing Testimonials->All Testimonials</li> 60 <li>Paste the following shortcode anywhere in a post or page with the appropriate id: [handsometestimonial id=""]</li> 61 <li>Customize your testimonial to your liking adding the <a href="edit.php?post_type=testimonial&page=htst_getting_started&tab=faqs">shortcode arguments</a> to your shortcode</li> 62 </ul> 63 64 Remember, the basic shortcode should look as follows: [handsometestimonial id="3"] 65 66 <?php 67 break; 68 case 'faqs' : 69 ?> 70 71 <h2>Can I use this in Sidebar Widgets?</h2> 72 Absolutely. An easy way to do this to generate your testimonial to your liking in a new post using the Insert Testimonial button, then click Generate Shortcode to create a shortocde 73 in your post. Now simply cut and paste this shortcode into a new "Text" Widget type in Dashboard->Appearance->Widgets. You may want to make sure you set a custom width for your testimonial 74 which matches the width of your column by adding the argument to your shortcode. ( ex: width="250px" ) 75 76 <h2>How do I change the displayed image size of the testimonial?</h2> 77 You can designate a specific pixel size or % by using the shortcode option: img-size="" For example: [handsometestimonial id="5" img-size="50px"] 78 79 <h2>Can I add more than one testimonial per row?</h2> 80 Yes, but for the moment, only 2 testimonials per row are supported. You'll need to insert 2 shortcodes, one after another, then reduce 81 the width of each testimonial to a bit less than half of the width of the content area. 82 <br />(For instance, for 2 testimonials in one row, set width to 45% each) 83 <br />Next, you'll set Testimonial Alignment for each testimonial in the row to the appropriate position. <br />(For instance, set one to left and the other to right) 84 85 <h2>What are all the customizations can I make to my testimonials?</h2> 86 Use the following shortcode options after inserting the standards shortcode: [handsometestimonial id="#" ] 87 <ul style="padding-left:20px"> 88 <li>id="" - Testimonial id to display</li> 89 <li>img_shadow="" - Testimonial image shadow - (yes/no)</li> 90 <li>img_size="" - Size for testimonial image - (px/%)</li> 91 <li>txt_align="" - Alignment of all text in testimonial block - (left/center/right)</li> 92 <li>title_color="" - Color of title - (hex)</li> 93 <li>title_size="" - Font size of title - (px/em)</li> 94 <li>tst_color="" - Color of testimonial body text - (hex)</li> 95 <li>tst_size="" - Font size of body text - (px/em)</li> 96 <li>subtitle_size="" - Font size of subtitle - (px/em)</li> 97 <li>subtitle_color="" - Color of subtitle text - (hex)</li> 98 <li>border="" - Choose whether to have a boder around testimonial block</li> 99 <li>border_width="" - Border width if border is enabled - (px/em)</li> 100 <li>border_color="" - Color of boder around testimonial block - (hex)</li> 101 <li>bg_color="" - Color of background - (hex)</li> 102 <li>round_corners="" - Round corners or testimonial block - (yes/no)</li> 103 <li>border="" - Add a border around testonial</li> 104 <li>border_width="" - Sets the width of the border - (px/em)</li> 105 <li>border_color="" - Sets the color of the border - (px/em)</li> 106 <li>width="" - Width of testimonial block - (hex)</li> 107 <li>height="" - Height of testimonial block - (px/%)</li> 108 <li>align="" - Alignment of testimonial block - (left/center/right)</li> 109 </ul> 110 111 <i>Here's an example: </i> 112 <br />[handsometestimonial id="5" title_color="red" title_size="15px" tst_color="darkred" shadow="no" subtitle_color="darkred" bg_color="grey" round_corners="yes"] 113 114 <h2>What if there's something about how my testimonial is displayed that I want to change?</h2> 115 Perhaps you want to make the text of your testimonial italic or bold or you want to change the 116 margins of your testimonial. Simply find the specific css id tag of the testimonial on your page you wish to make changes to and add these css changes to your theme's custom css file. 117 The easiest way to find the specific css id selector for the testimonial you want to change is by using the "developer" function of your browser or a browser extension such as <a href="http://getfirebug.com" target="blank">Firebug</a>. 118 119 <?php 120 break; 121 case 'feedback' : 122 ?> 123 <iframe src="https://docs.google.com/forms/d/1gj7-NBKkpp7FTxusxspYhTcjMYidlIpSUR8T46cEqs0/viewform?embedded=true" 124 width="750" height="1200" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> 125 <?php 126 } 127 echo '</table>'; 153 <h2>Can I add more than one testimonial per row?</h2> 154 Yes, but for the moment, only 2 testimonials per row are supported. You'll need to insert 2 shortcodes, one after another, then reduce 155 the width of each testimonial to a bit less than half of the width of the content area. 156 <br />(For instance, for 2 testimonials in one row, set width to 45% each) 157 <br />Next, you'll set Testimonial Alignment for each testimonial in the row to the appropriate position. <br />(For instance, set one to left and the other to right) 158 159 <h2>What if there's something about how my testimonial is displayed that I want to change?</h2> 160 Perhaps you want to make the text of your testimonial italic or bold or you want to change the 161 margins of your testimonial. Simply find the specific css id tag of the testimonial on your page you wish to make changes to and add these css changes to your theme's custom css file. 162 The easiest way to find the specific css id selector for the testimonial you want to change is by using the "developer" function of your browser or a browser extension such as <a href="http://getfirebug.com" target="blank">Firebug</a>. 163 164 <?php 165 break; 166 case 'feedback' : 167 ?> 168 <iframe src="https://docs.google.com/forms/d/1gj7-NBKkpp7FTxusxspYhTcjMYidlIpSUR8T46cEqs0/viewform?embedded=true" 169 width="750" height="1200" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> 170 <?php 128 171 } 129 ?> 130 131 </div> 132 </div><!-- End Column 1 --> 133 <div style="width: auto; float: right; margin-top: 100px"><!-- Column 2 --> 134 <a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank"><img src="<?php echo TSTMT_PLUGIN_URL.'/assets/images/upgrade-hndtst-pro-side.png'; ?>"></a> 172 echo '</table>'; 173 } 174 ?> 175 135 176 </div> 136 177 -
handsome-testimonials/trunk/includes/single-handsometestimonials.php
r1260799 r1280920 11 11 * 12 12 */ 13 14 13 15 14 get_header(); ?> -
handsome-testimonials/trunk/includes/tst_shortcode_generator.php
r1260799 r1280920 76 76 </div>--> 77 77 78 <div id="tst_single_wrap" style="margin-top: 5px;">78 <div id="tst_single_wrap" style="margin-top: 10px; margin-bottom: 15px;"> 79 79 <select name="tst_single" id="tst_single" size="1"> 80 80 <option value="" selected="selected">--Select a Testimonial--</option> … … 271 271 </div> <!-- End 'hndtst-dialog_Col_1' --> 272 272 <div class="hndtst-dialog_Col_2"> 273 <div style="margin-left: 45px;"> 274 <?php echo '<a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank"><img src="'.TSTMT_PLUGIN_URL.'/assets/images/upgrade-hndtst-pro-side-horiz.png"/></a>'; ?> 273 <div style="overflow: hidden"> 274 <div style="margin-left:auto; margin-right: auto; width: 400px; border: 2px dotted #953E0C"> 275 <?php echo '<a href="http://handsomeapps.io/handsome-testimonials-pro/" target="blank"><img src="'.TSTMT_PLUGIN_URL.'/assets/images/upgrade-hndtst-pro-side-horiz.png"/></a>'; ?> 276 </div> 275 277 </div> 276 278 <br /> 277 279 <div id="hndtst_preview"> 278 280 <?php echo do_shortcode( '[testimonial_preview]' ); ?> 281 </div> 282 283 <!-- Save Widget Instance Dialogue Box --> 284 <div style="margin-top: 25px;"> 285 <?php _e('Save Widget Instance: ', 'hndtst_loc'); ?> 286 <input type="text" id="saved_instance_title" value="" /> 287 <input type="button" id="save_instance_options" value="Save" class="button-primary"> 288 <div id="design_options"></div> 279 289 </div> 280 290 </div> … … 336 346 } 337 347 348 //Retrieve ShortCode as Design Options 349 350 add_action( 'wp_ajax_hndtst_design_options', 'hndtst_action_design_options_callback' ); 351 352 /** 353 * Function to update popup to add/edit post/page/post-type screen 354 * 355 * @access public 356 * @return void 357 * @author KKAIS 358 */ 359 function hndtst_action_design_options_callback() { 360 361 global $wpdb; 362 363 $hndtst_design_options = ( $_POST['hndtst_design_options'] ); 364 $hndtst_design_options_name = ( $_POST['hndtst_design_options_name'] ); 365 366 if ($hndtst_design_options_name == '') { 367 echo '<span style="color:red;">Widget Instance Title is required.</span>'; 368 wp_die(); 369 } 370 371 $table = $wpdb->prefix . 'hndtst_saved'; 372 $data = array('time' => date('Y-m-d H:i:s'), 373 'name' => $hndtst_design_options_name, 374 'shortcode' => $hndtst_design_options); 375 $format = array('%s','%s','%s'); 376 377 $wpdb->insert( $table, $data, $format ); 378 379 if ($wpdb->insert_id){ 380 echo '<span style="color:green;">Instance is successfully saved! <a href="'.get_site_url().'/wp-admin/widgets.php" target="blank"><i>Go to widgets</i></a></span> '; 381 }else { 382 echo '<span style="color:red;">Failed to save instance</span>'; 383 } 384 385 wp_die(); 386 387 } 388 338 389 ?> -
handsome-testimonials/trunk/readme.txt
r1260835 r1280920 3 3 Tags: testimonials, testimonial, testimonials widget, review, customer reviews 4 4 Author URL: http://handsomeapps.io 5 Requires at least: 3.5 5 Requires at least: 3.5 6 6 Tested up to: 4.3.1 7 Stable tag: 1. 2.18 License: GPLv2 or later 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 7 Stable tag: 1.3 8 License: GPLv2 or later 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 11 Design and display eye catching testimonials on your site in a snap … … 16 16 Handsome Testimonials lets you *easily* display attractive and eye catching testimonials on your site that evoke your customer’s trust, made easy with Handsome Testimonials by Handsome Apps. Handsome Testimonials gives you, the WordPress user, super-powers with the ability to magically create great looking testimonials right from the get-go. The plugin comes with modern testimonial designs that can be highly customized. 17 17 18 [youtube https://www.youtube.com/watch?v=RtPmm8BPhlo] 18 19 > **Handsome Testimonials Pro**<br /><br /> 19 20 > *Pro does everything you need!*<br /> … … 185 186 == Changelog == 186 187 188 = 1.3 = 189 * Added Handsome Testimonial Widget for WP widget areas 190 * Improved How to Use instruction page in Getting Started area 191 187 192 = 1.1.4 = 188 193 * Added new free design
Note: See TracChangeset
for help on using the changeset viewer.