Insert twitter button anywhere in wordpress post
Today, twitter is one of the most popular microblogging social networks.. It is especially popular abroad.. Celebrities and famous fashion designers have been added to twitter.
This tutorial will show you how to quickly and in the least amount of time make a retweet button for your WordPress article.. To get started, sign in to twitter.com if you haven't already signed up., I think it's worth it. Next, we move on link and in the constructor we form the code of the future button. Next, in the function.php file, you need to enter the code.
1 2 3 4 |
function tweetmeme(){ return '==сюда вставляйте код вашей кнопки=='; } add_shortcode('tweetmeme', 'tweetmeme'); |
An example of what I got:
[tweetmeme]– by the way if you like tweet ).
/*
- Basic web design course;
- Site layout;
- General course on CMS WordPress and continuation of the course on template development;
- Website development in PHP.
You are missing an r in the second line of the word twitte
Thank you corrected