Home>Support>Recent Posts Widget by Category

Recent Posts Widget by Category

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 3 months ago Justin Wilson

    What 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.

  2. 11 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    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:

    cat=x

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More