Don’t know PHP that well?
Well here is a simple way to add a share script like fbshare.me to your site, via shortcodes.
Paste the following code in your functions.php file in order to create your shortcode:
function fbshare_script() { return '<div class="fbshare"><script src="http://widgets.fbshare.me/files/fbshare.js"></script></div>'; } add_shortcode( 'fbshare', 'fbshare_script' );
Once done, you can display the facebook share button anywhere on your posts. In WordPress editor, make sure you are in HTML mode and insert the following: [fbshare]
.
When your post will be published, the shortcode will be replaced by the fbshare.me button.
I was asked by a reader: I'm using the THiCK theme for my new design…
The article lists the 13 best WordPress email marketing plugins for 2022 - HubSpot, ConvertKit,…
In 2024, NVIDIA remains a dominant force in the AI chip market with its innovative…
In the rapidly evolving realm of digital marketing, ChatGPT has emerged as an invaluable tool,…
It is official, today I purchased my ticket for WordCamp Denver! I as well as…
AI's Transformative Impact on Web Professionals Artificial intelligence (AI) is revolutionizing the digital landscape, and…