WordPress.org

Ready to get started?Download WordPress

Forums

Really simple Facebook Twitter share buttons
[resolved] Any PHP Code i can use in the page (.php file (2 posts)

  1. Arundeep
    Member
    Posted 1 year ago #

    Any PHP Code i can use in the page (.php file).

    Dont want the shortcode for this.

    http://wordpress.org/extend/plugins/really-simple-facebook-twitter-share-buttons/

  2. whiletrue
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Arundeep,
    as stated in the FAQ, you can call the really_simple_share_publish($link='', $title='') PHP function, passing it the link and the title used by the buttons.

    You shouldn't leave the parameters blank, unless the code is put inside the WP loop. For example, use this code to create buttons linking to the website home page: echo really_simple_share_publish(get_bloginfo('url'), get_bloginfo('name'));

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.