SOUP – Show off Upcoming Posts

October 01, 2019

SOUP – Show off Upcoming Posts Plugin

Displays your upcoming posts in a sidebar widget to tease your readers

Like this plugin? Consider leaving a quick review or writing about how you’ve used it on your site – send me a link to that write up if you do.

This plugin is maintained on GitHub, so feel free to use the repository for reporting issues, submitting feature requests and submitting pull requests.

SOUP creates a widget in your sidebar which allows you to display your upcoming posts (scheduled, drafts, or both) to your readers. The idea is to entice your readers to come back and read the article once it gets published, or better yet, subscribe to your RSS feed and/or newsletter.

Here are the configurable options for the widget:

  • Title of sidebar widget
  • Number of upcoming posts to display (always in ascending order – newest first)
  • Choose whether to show date of upcoming post
  • Display order of the posts (next post first or random order)
  • Message to display for when there are no scheduled posts or drafts
  • Show/hide newsletter link
  • Include link to sign up to newsletter

I’ve got plans to continue developing and updating this plugin. If you have any suggestions on revisions that you’d like to see made, please get in touch or find me on Twitter.

I also run Do It With WordPress, which has an array of tutorials for managing, modifying and maintaining your WordPress sites, as well as The WP Butler, a service for keeping your site maintained, backed up, updated and secure.

Installation

  1. Upload soup-show-off-upcoming-posts folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance > Widgets to put the widget in your selected sidebar.
  4. Set your settings, hit Save and go to your site to see it in action.

Screenshots

  1. An example of the widget in use.

    An example of the widget in use.

FAQ

How do I modify WP_Query to get more specific results

There is a filter (soup_query) for the WP_Query args, so you can add and modify args as needed to get the result you need.

For example, to limit your results to posts in category 3, you might add something like the function below to your functionality plugin:

function limit_soup( $args ) { $args['cat'] = 3; return $args; } add_filter( 'soup_query', 'limit_soup' ); 

Are there more features planned in future?

Absolutely. I’ll be providing more options and upgrades in the near future. You can stay up to date by following me on Twitter. If you have an idea for a new feature, you can create a new feature request on GitHub. If you don’t have a GitHub account, then tell me what this widget should do that it doesn’t currently.

I don’t have a newsletter. Is this functionality lost on me?

Many WordPress users send their RSS feed through FeedBurner, which has the option to deliver your latest posts by email to anyone who subscribes. Just log in to FeedBurner, go to the Publicize tab and select Email Subscriptions where you’ll be able to grab the link.

I’m having issues. What do I do?

The best thing to do is to submit an issue on GitHub. If you don’t have a GitHub account, then get in touch with me and I’ll see about getting it fixed.

Changelog

2.3

Release date: May 23, 2016

  • Breaking changes for sites using < v2.2.1 See changelog for changes in previous versions.
  • Improve coding standards
  • Properly implemented i18n
  • Removed RSS icon image and replaced with dashicon

2.2.1

Release date: May 20, 2016

  • Breaking change: args for category, post status and post type removed from WP_Query. If you wish to continue using these, you need to use the soup_query filter. See the FAQ tab for details on how to use this.
  • Added support for wordpress.org language packs

2.1

Release date: January 26, 2016

  • Removed settings for category, post status and post types from the widget control panel. To modify the category, post status or post types that SOUP displays, you now need to use the filter provided. See the FAQ tab for details on how to use this, or file a support ticket.

2.0

Release date: October 1, 2015

  • Refactored query in widget to use WP_Query class. This will allow for the deprecation of certain settings in the widget in the next release (2.1). The intent is to use the soup_query filter instead (see FAQs for example). Settings will be removed in 2.1 and the args will be removed from the query in 2.2.1.

Details

  • Version: 2.3
  • Active installations: 100
  • WordPress Version: 3.8
  • Tested up to: 5.2.21

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars