WordPress.org

Plugin Directory

SOUP - Show off Upcoming Posts

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

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.

Requires: 3.8 or higher
Compatible up to: 4.5.3
Last Updated: 2 months ago
Active Installs: 500+

Ratings

4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,2,2
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
0,2,0
100,1,1