Recent Posts Widget by Category
I understand there is a way to add additional queries for the Page Builder recent posts widget. It doesn’t seem to work for what I put in, after consulting the WordPress article on the subject. I want it to only show 3 or 4 video posts (category slug is ‘videos’), and NOT have pagination, as in no buttons under the recent posts grid. Any tips on that? I’m using the premium version of the theme, if that makes any difference.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
2What I mean by not working is it shows recent posts of any kind, not just videos. I’ve tried a few different queries including if/then.
HI Justin
In the Post Loop (PB) widget you can set four as the max number of posts, that’s a setting. Then in the last field of the widget called Additional enter:
Where x is the numerical ID of your videos category. To get that ID head to Posts > Categories, and view your videos category. You’ll see the ID In the url when doing so. You’ll need to check out the various templates available in the widget but the Grid template might work well for this. Make sure each one of your posts has a featured image added.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.