Changeset 1585659
- Timestamp:
- 01/31/2017 11:06:29 AM (9 years ago)
- Location:
- ect-social-share
- Files:
-
- 3 edited
-
assets/Thumbs.db (modified) (previous)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ect-social-share/trunk/index.php
r825375 r1585659 6 6 Author:Andy Chapman 7 7 Author URI:http://www.ecommercetemplates.com 8 Version:1. 08 Version:1.1 9 9 */ 10 10 … … 84 84 { 85 85 $EctSocialShare=''; 86 foreach($_POST['social'] as $sh=>$sv) 86 $social=esc_sql($_POST['social']); 87 foreach($social as $sh=>$sv) 87 88 { 88 89 $EctSocialShare['share_on'][]=$sh; 89 90 } 90 $EctSocialShare['share_txt']=$_POST['txt']; 91 $EctSocialShare['share_sub']=$_POST['share_sub']; 92 $EctSocialShare['share_sub_fb']=$_POST['share_sub_fb']; 93 $EctSocialShare['share_url']=$_POST['share_url']; 91 $txt=esc_sql($_POST['txt']); 92 $share_sub=esc_sql($_POST['share_sub']); 93 $share_sub_fb=esc_sql($_POST['share_sub_fb']); 94 $share_url=esc_sql($_POST['share_url']); 95 96 $EctSocialShare['share_txt']=$txt; 97 $EctSocialShare['share_sub']=$share_sub; 98 $EctSocialShare['share_sub_fb']=$share_sub_fb; 99 $EctSocialShare['share_url']=$share_url; 94 100 update_option('ect_social_share1',$EctSocialShare); 95 101 echo '<script type="text/javascript">window.location="admin.php?page=ect_social&msg=1"</script>'; -
ect-social-share/trunk/readme.txt
r1477625 r1585659 4 4 Tags: Wordpress ecommerce, ecommerce, online store, sell products, shopping cart, wordpress store, wordpress shopping cart, ecommerce software, seo, meta description, title tag, search engine friendly, search engine optimization 5 5 Requires at least: 3 6 Tested up to: 4. 67 Stable tag: 1. 06 Tested up to: 4.7.2 7 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Allow customers to share their purchases on Facebook, Twitter, Pinterest and Google + 11 Allow customers to share their purchases on Facebook, Twitter, Pinterest and Google +. 12 12 13 13 == Description == … … 37 37 38 38 If you have any problems with the plugin please post your support questions here on the WordPress support forum. Any questions about the shopping cart or WordPress integration can be posted on the Ecommerce Templates support forum. 39 39 40 If you have a problem with the plug-in please don't just give it a bad rating or review without seeking our help first. 40 41 … … 50 51 1. Go to the ECT Social Media Plugin Settings page in the WordPress admin and choose which social media outlets you want to support 51 52 1. Enter the default text in the field provided 52 53 **Share URL:** The URL of your store including the "http://" 54 55 **Share Subject:** The title which will appear on the thanks page 56 57 **Title on Facebook:** The suggested title of the posting on Facebook 58 59 **Share Text:** Suggested text to accompany the product image. There are two variables available %%PRODUCT_NAME%% which replaces the product name and %%STORE_URL%% which will show the Store URL. For example you might want to enter something like this 60 Have a look at the %%PRODUCT_NAME%% I have just bought from %%STORE_URL%% 61 62 1. Open the file thanks.php and change this line 63 <?php 53 Share URL: The URL of your store including the "http://" 54 Share Subject: The title which will appear on the thanks page 55 Title on Facebook: The suggested title of the posting on Facebook 56 Share Text: Suggested text to accompany the product image. There are two variables available %%PRODUCT_NAME%% which replaces the product name and %%STORE_URL%% which will show the Store URL. For example you might want to enter something like this 57 Have a look at the %%PRODUCT_NAME%% I have just bought from %%STORE_URL%% 58 1. Open the file thanks.php and change this line 59 <?php 64 60 include "vsadmin/inc/incthanks.php"; 65 61 ?> … … 68 64 include "vsadmin/inc/incthanks.php"; 69 65 include "vsadmin/inc/incectsocialshare.php"; 70 ?> 71 1.Now try a test order and check the results. 66 ?> 67 68 Now try a test order and check the results. 72 69 73 70 == Frequently asked questions == … … 81 78 No, it will just share the first item added to cart. 82 79 83 84 80 == Screenshots == 85 81 … … 89 85 == Changelog == 90 86 87 = 1.1 = 88 * Code fixes and version update. January 31st 2017 91 89 = 1.0 = 92 90 * Initial Release. December 19th 2013
Note: See TracChangeset
for help on using the changeset viewer.