Home > CMS Tutorial > WordPress > Quick tip: share this content after

Quick tip: share this content after

王林
Release: 2023-09-04 22:25:06
Original
1247 people have browsed it

Quick tip: share this content after

If we say content is the “king,” then social media might also be the “queen.” We can safely say that social media is the most effective way of distributing content online in our time.

In this article, we’ll cover how and why you should include a “Share this” section in your content.


"Share this" for instant (free) content promotion

In the golden age of social media, it would be foolish not to encourage people to share your content on social networks like Facebook, Twitter, Pinterest or Google.

Yes, we live in a social world and it's not just something we do among friends. I wrote this quick tip in Turkey, my editor published it in Australia, and a German reader gave it a five-star review, while an Iranian reader shared this quick tip on Twitter, one of his A Korean friend retweeted his tweet. Just ten years ago, this would have been impossible.

Think about this example and think about your own blog. It doesn’t have to be an international event, but you can reach a huge number of people with the power of social media. With WordPress, it’s very easy to go viral – as long as you create high-quality content and allow your visitors to share that quality.

Plugin that provides the "Share this" section

As you can imagine, it's relatively easy to create a "Share this" section manually. You can get the "widget code" for your favorite social network and replace the URL with <?php the_permalink(); ?> and <?php the_title(); ?> in the widget code if necessary.

Then it’s all HTML:

<div class="share-this">
	<div class="twitter"><!-- The widget code --></div>
	<div class="facebook"><!-- The widget code --></div>
	<div class="google-plus"><!-- The widget code --></div>
</div>
Copy after login

But there is an easier way to create this section: using a plugin. These plugins will most likely be enough for your blog's needs and a perfect fit for your theme:

  • Jetpack by WordPress.com - WordPress’s own “feature pack” that comes with a variety of little plugins, including a sharing section that provides an elegant bar at the bottom of a post, after the post content. If you're already using Jetpack (like me), this might be the best solution for you.
  • Digg Digg - Digg Digg may be considered a "more comprehensive sharing solution" compared to Jetpack's share buttons. It allows you to place buttons before or after content, or even as a floating bar next to content. It also allows you to choose large or small buttons to better fit your design. If you like controlling lots and lots of options, this plugin is for you.
  • AddThis’s Sharing Buttons - It looks like another plugin that gives you sharing buttons. However, in addition to membership in AddThis.com, the add-on can also show you an in-depth analysis of how your content is shared. If you are interested in sharing statistics of your content, then you should use this plugin.

Of course, there are many more shared plugins out there, and you may find that some of them are even better than the big guys above. My personal choice is Jetpack, but that’s because I use the plugin for many of its other features as well as the share button.

I recommend trying as many options as possible (including HTML-only ones) and deciding which one is best based on what you find.


in conclusion

As I said before, we are now communicating in social networks. If you want people to contact you, you have to provide share buttons for your content, the "King".

Do you think there are better plugins (or non-plugin solutions) regarding the social sharing section worth mentioning? Please leave your comments below - it's always important for you to share your thoughts with us!

The above is the detailed content of Quick tip: share this content after. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template