This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Use Custom Post Type in Post Grid

  • Creator
    Topic
  • #18426
    kennethfeldman
    Participant

    Hi Jason,

    I’ve tried each way that I can understand — but can’t get the POST GRID shortcode to kick out items in my Custom Post Type.

    (I come from a front-end background, and am just barely digging into back end coding — so I hope that I’ve even started out right, or that I can even explain this.)

    I have a Custom Post Type called “furniture” with a taxonomy of “furniture_type”, and several furniture_types, two of which are “seating” and “tables.”

    I’d like to use the POST GRID shortcode to kick out all of the items in the furniture_type of “seating”.

    I’m not sure what to enter in the custom query box in the POST GRID shortcode config screen.

    Thanks in advance for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #18430
    Jason Bobich
    Keymaster

    Hello,

    Your setup would be:

    post_type={post_type}&{taxonomy}={term}

    So, it would be like this:

    post_type=furniture&furniture_type=seating

    If you can’t get that to work try writing out an HTML ampersand like:

    post_type=furniture&furniture_type=seating
    #18439
    kennethfeldman
    Participant

    Perfect. Thank you!

    I guess I just didn’t try that combination in that order.

    But I was close!

    Thanks Jason!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.