Home>Support>Query latest post?

Query latest post?

Is it possible to hide the latest post from a post-loop? using the “build posts query” function i presume?
can’t find any info on this? the wordpress query wiki only shows how to query this using php, but i see you can query categories by just typing in cat=x

Also i wonder if it is possible to hid the arrows on the post slider if there is only a single post in that loop?

The thing I am aiming to get is 1 slider showing the full featuered image next to a grid of previous posts, thus i need to exclude the latest one.

URL: http://1942mods.com/

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

  1. 9 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    Hi Reegad

    To hide the arrows, insert the following at Appearance > Custom CSS:

    /* Flex Slider Post Loop Hide Arrows */
    
    .widget_siteorigin-panels-postloop  .flexslider .flex-direction-nav {
        display: none;
    }
    

    Try the following in the Additional field of your Build post query page:

    offset=1
    
  2. 9 years, 20 days ago Reegad

    This is exactly what i was looking for, thank you so much!

  3. 9 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    Super :) Glad we could help out. All the best.

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