Plugin Directory

Changeset 670887


Ignore:
Timestamp:
02/20/2013 08:20:57 PM (12 years ago)
Author:
sudiptomahato
Message:

Added 2 new tags (%%ETITLE%% and %%EDESC%%) for custom buttons

Location:
only-tweet-like-share-and-google-1
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • only-tweet-like-share-and-google-1/trunk/readme.txt

    r670639 r670887  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 1.6.1
     7Stable tag: 1.6.2
    88
    99A very simple social share plugin with just 5 social icons (Twitter, FB Like, Google +1, Linkedin and FB Share)
  • only-tweet-like-share-and-google-1/trunk/tweet-like-plusone.php

    r670639 r670887  
    44Plugin URI: http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/
    55Author: Sudipto Pratap Mahato
    6 Version: 1.6.1
     6Version: 1.6.2
    77Description: Most simple social share icons. 99% of your any blog post is share by these Social share icons.
    88Requires at least: 3.0
     
    345345<b>%%EURL%%</b> - The HTML encoded URL of the Post/Page<br/>
    346346<b>%%TITLE%%</b> - The Title of the Post/Page<br/>
     347<b>%%ETITLE%%</b> - URL encoded Title of the Post/Page<br/>
    347348<b>%%DESC%%</b> - Description or Post Excerpts<br/>
     349<b>%%EDESC%%</b> - URL encoded Description or Post Excerpts<br/>
    348350<b>%%PIMAGE%%</b> - Link to the Featured Image of the post or the first image if featured image not set.<br/>
    349351
     
    660662    if(trim($cbtn==''))return '';
    661663   
     664    $eptitle=urlencode($ptitle);
     665    $edesc=urlencode($desc);
     666   
    662667    $cbtn=str_replace("%%URL%%", $plink, $cbtn);
    663668    $cbtn=str_replace("%%EURL%%", $eplink, $cbtn);
     
    665670    $cbtn=str_replace("%%PIMAGE%%", $pimg, $cbtn);
    666671    $cbtn=str_replace("%%DESC%%", $desc, $cbtn);
     672    $cbtn=str_replace("%%ETITLE%%", $eptitle, $cbtn);
     673    $cbtn=str_replace("%%EDESC%%", $edesc, $cbtn);
    667674       
    668675    $allbtns=explode("[BUTTON]",$cbtn);
Note: See TracChangeset for help on using the changeset viewer.