Changeset 710014
- Timestamp:
- 05/08/2013 05:33:47 PM (13 years ago)
- Location:
- wp-ya-share/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-ya-share.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-ya-share/trunk/readme.txt
r549320 r710014 4 4 Tags: social, share, bookmarks, twitter, facebook, livejournal, vkontakte, widget, post, smo, smm, social media, yandex 5 5 Requires at least: 2.8.6 6 Tested up to: 3. 3.27 Stable tag: 1. 26 Tested up to: 3.5.1 7 Stable tag: 1.3 8 8 Contributors: andreyk 9 9 … … 51 51 == Changelog == 52 52 53 = 1.3 = 54 * Added: different title for each post when multiple option is active, instead of blog title. 55 53 56 = 1.2 = 54 57 * Added options: to show multiple ya-share blocks and to show it selectively via short code. -
wp-ya-share/trunk/wp-ya-share.php
r549301 r710014 2 2 /* 3 3 Plugin Name: WP Ya.Share 4 Version: 1. 24 Version: 1.3 5 5 Description: Adds the Yandex 'Share in social networks' block into posts or widget to simplify saving URLs of your blog pages into social networks. 6 6 Requires at least: 2.8.6 7 Tested up to: 3. 3.27 Tested up to: 3.5.1 8 8 Plugin URI: http://andrey.eto-ya.com/wordpress/my-plugins/wp-ya-share 9 9 Author: Andrey K. 10 10 Author URI: http://andrey.eto-ya.com/ 11 Stable tag: 1. 211 Stable tag: 1.3 12 12 License: GPL2 13 13 */ … … 116 116 $ya_share= get_option('ya_share'); 117 117 118 $link= (in_array($ya_share['where'],array('multiple','selectively'))?('link: "'.get_permalink().'",'):''); 118 $link= (in_array($ya_share['where'], array('multiple','selectively'))?('link: "' 119 . get_permalink(). '", title: "' . get_the_title(). '",'):''); 119 120 $ya_share_div= '<!--WP Ya.share--><div class="wp_ya_share" style="text-align:'.$ya_share['align'].';"> 120 121 <div id="yashare'.(++$div).'"></div>
Note: See TracChangeset
for help on using the changeset viewer.