• This is the url: HOUSE 1

    I have custom post type “Properties”.For each new property, I can select taxonomy “Property Type”, “Property Status”, “Property Location” taxomony for each new property. This page is using its own template, so I was wondering – can I modify the query for that template to show other properties from one “Property Location”, that would match the current Location?

    For example, if I open any “House 1” (“House 1” is Property Location) property, I don’t want the page to show posts with “”House 2” Property Location, but posts from the current Location only.

    I tried few combinations using https://generatewp.com/wp_query/ , but can’t figure this out. I am sure, though, that it’s a simple thing to change.

  • The topic ‘Custom post types – show specific posts’ is closed to new replies.