This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Recent Posts Widget by Category

Resolved 2 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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

2
  1. Justin Wilson 11 years, 10 months ago

    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. Andrew Misplon Staff 11 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread