Plugin Directory

Changeset 710014


Ignore:
Timestamp:
05/08/2013 05:33:47 PM (13 years ago)
Author:
andreyk
Message:

Adding version 1.3

Location:
wp-ya-share/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-ya-share/trunk/readme.txt

    r549320 r710014  
    44Tags: social, share, bookmarks, twitter, facebook, livejournal, vkontakte, widget, post, smo, smm, social media, yandex
    55Requires at least: 2.8.6
    6 Tested up to: 3.3.2
    7 Stable tag: 1.2
     6Tested up to: 3.5.1
     7Stable tag: 1.3
    88Contributors: andreyk
    99
     
    5151== Changelog ==
    5252
     53= 1.3 =
     54* Added: different title for each post when multiple option is active, instead of blog title.
     55
    5356= 1.2 =
    5457* 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  
    22/*
    33Plugin Name: WP Ya.Share
    4 Version: 1.2
     4Version: 1.3
    55Description: Adds the Yandex 'Share in social networks' block into posts or widget to simplify saving URLs of your blog pages into social networks.
    66Requires at least: 2.8.6
    7 Tested up to: 3.3.2
     7Tested up to: 3.5.1
    88Plugin URI: http://andrey.eto-ya.com/wordpress/my-plugins/wp-ya-share
    99Author: Andrey K.
    1010Author URI: http://andrey.eto-ya.com/
    11 Stable tag: 1.2
     11Stable tag: 1.3
    1212License: GPL2
    1313*/
     
    116116    $ya_share= get_option('ya_share');
    117117
    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(). '",'):'');
    119120    $ya_share_div= '<!--WP Ya.share--><div class="wp_ya_share" style="text-align:'.$ya_share['align'].';">
    120121    <div id="yashare'.(++$div).'"></div>
Note: See TracChangeset for help on using the changeset viewer.