we released some minutes ago the new version 1.5.0 of the plugin, adding the possibility to use the “really_simple_share_publish” PHP function to publish the buttons inside the PHP code, for themes and other plugins.
We also updated the FAQ for easy reference:
= Is it possible to show the buttons anywhere inside my theme, using a PHP function? =
Yes, 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’));
Please let us know if it fits your needs!
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Really simple Facebook Twitter share buttons] Includin in PHP’ is closed to new replies.