Home>Support>Build Post Query Widget

Build Post Query Widget

I’m confused. Using vantage post loop widget and I enter the id which is 4 into “posts in” section and then on the home page it says “nothing found”. I have 2 posts in that category. I plan to use 3 post loop widgets for the home page, news, events, online auctions. I need to display the latest 1-3 posts from the appropriate category in each widget. I also need to be able to control the length of the snippet. I’m doing something wrong, though I don’t know what.


URL: http://www.goldenproductionservices.com/atpf/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 2 months ago Andrew Misplon Hi, I Work Here

    Hi Todd

    Thanks for reaching out.

    When editing the widget click the Builder Query button, then in the Taxonomies field, type the word: category, that’ll bring up all your category names. Select the category you’re looking to list.

    Hope that helps.

  2. 5 years, 2 months ago Todd Sumrall

    I did as you said but the categories do not show up anywhere. It just shows all posts from all categories on the home page in one loop. I need to be able to have each loop pull from a different category.

  3. 5 years, 2 months ago Todd Sumrall

    I figured it out. A list of categories did not show up, but in the additional field at the bottom of the query builder part I put category_name=events and only posts in the events category show up. Would of been nice to see this in the documentation…

  4. 5 years, 2 months ago Andrew Misplon Hi, I Work Here

    Super, glad to hear you made progress. You can use the Additional field to manually construct almost any loop that the builder is capable of constructing.

    Instead of search for category then your term what I should have suggested was just typing in the category name. For example, in my demo I have a category called Blogroll, but searching for it in the Taxonomies field I can select it. Here is how it looks:

    If you run into any other challenges, please open a new support thread and we’ll help out ASAP.

    All the best.

  5. 5 years, 2 months ago Todd Sumrall

    Thanks for the response. I had figured it out. I took a screen capture but I don’t see a way to post an image here. Anyhow this is an example of what I did that may help someone else.

    My aim was to set 3 individual post queries on my home page pulling only the snippet from the most recent post. I needed to have each post query to pull the post from different single categories.

    In taxonomies I put the word category. Then I went to my categories from dashboard posts>categories and hover over the category and look at the url below to get the name. Then in each post query widget I put the name.

    Here is what one looked like when finished:

    Taxonomies enter the word category
    Order by: Publish Date
    Post per page: 1
    Sticky posts: Default
    Additional: category_name=events

    That did the trick

  6. 5 years, 2 months ago Andrew Misplon Hi, I Work Here

    Awesome, thanks for running everyone through that. Really glad to hear you made progress here.

    (You can use a regular HTML img tag to insert an image here but you will need to host the image at your own source. We’ll be improving the forum over the course of the year :) )

    Cheers for now.

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