Latest Posts with Share Widget for WordPress

Latest Posts

This is a WordPress widget to display the latest blog posts. From the functionality point of view, this widget is just like the standard Recent Posts widget, but with additional functionality: a sharing button to Facebook or Twitter. This button is rendered before the post link, and by default it is configured to show the counter of how many time a particular post is shared in Facebook or Twitter. The presence of this button should entice your readers to share an interesting post in a social media website like Facebook and Twitter.

The ‘sharing’ button is configurable in widget administration screen: you can choose either Facebook or Twitter, but not both. The Facebook sharing button is an official button from Facebook API. The Twitter ‘retweet’ button is taken from Tweetmeme Retweet Button. Either one is small enough to fit into the limited area in latest posts list.

The following image shows the appearance of this widget on my blog:

Latest Posts with Share widget

And the following image shows the administration settings for this widget:

The administration screen for Latest Posts with Share widget


Installation of this widget is easy. Do the following steps to install this widget:

  1. Download the widget from
  2. Extract the directory latest-posts-share from the downloaded file, and then upload it to your WordPress plugins directory (/wp-content/plugins/).
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to Appearance > Widgets > Latest Posts with Share, drag and drop it to sidebar area, and start entering your info.

Widget Parameters

This section explains the parameters used by this widget.

  1. Num. of posts to display

    You can specify the number of posts to display in this widget. Default value is 5 posts.

  2. Social media button

    You can use between Facebook Share button or Tweetmeme Retweet button here.

  3. Twitter username

    Optional. If you choose Twitter as social media button, you can specify the Twitter username as the source of retweet. The Twitter username will be included in the retweet text. For example, if I put ‘ahanto’ as username, and the message is ‘Latest Posts with Share Widget for WordPress’, then the retweet text will become: RT @ahanto Latest Posts Share Widget for WordPress.

  4. username

    Optional, but recommended. This option is applicable only if you choose Twitter as social media button. is a URL shortening service. We can shorten long URL in a tweet using their service. We can use their service by providing username and API key that can be obtained from their website.

  5. API key

    Optional, only required if we use Twitter as social media button. This is the API key of the service as I mentioned above.

  6. Show in home

    By default the Latest Posts with Share widget is not displayed in homepage. But, you can choose to display it in homepage by turning this option on.

  7. Use custom style

    By default, Latest Posts with Share widget uses its own style.css file. You can check this checkbox to ignore this file and use the CSS from your theme. Some additions to your theme’ style.css are required of course.

Related Posts

Ranged Popular Posts Widget for WordPress
Facebook Fan Box Widget for WordPress
Recent Comments with Gravatar Widget for WordPress
Top Commenters Gravatar Widget for WordPress
Rounded Tag Cloud Widget for WordPress
This entry was posted in WordPress and tagged , , .

9 Responses to Latest Posts with Share Widget for WordPress

  1. Pingback: Widget WordPress: Latest Posts with Share «

  2. Nice plugin. How can I remove the timestamp after the blog title?


  3. Also, how can I remove the number of retweets before the button?

    • Agus says:

      For now, the option is not available, although tweetmeme retweet button provide it. I’ll consider as refinement for next version.

  4. jimmie says:

    i want to know how to remove the tweet share button as i simply want the text heading of the post

  5. Joey Cardoza says:

    Can you take a look at my site (its a test site) at and let me know why the retweet or facebook buttons won’t show up. It just gives a test link that sais share and it is hard to see. I am under a lot of pressure to get this website up so your response will be soooo appreciated. Thank you very much

    Joey Cardoza

    • Agus says:

      Sorry Joey, It’s been very long since you wrote the comment and I’m just able to answer it now.

      I tried to look your website and I didn’t see any widget related with this plugin. I guess you already deleted it.

Leave a Reply

Your email address will not be published.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About Me

I am a professional developer and designer for the following systems: WordPress, Magento, and OpenCart. You can hire me to do overseas works related to those systems.
Hire me | Donate / Payment | Testimonials

Recent Comments