Showing custom posts in a different order - not by date

Hello, I am new here and do not know if questions that I ask are public or how exactly your support works. I've been teaching myself Wordpress over the past year, and have made progress, but don't always know the correct terms to use when asking a question. I am working on a theme that did not come from you which posts properties for rent. I am trying to get the properties to display on the page in order of bedrooms, not by date posted, and was able to modify the loop on one of the files with a custom query to achieve this. Unfortunately, I can no longer filter by property type (like a category) or any other filters. I'm stuck on how to add the filters back in. I got a suggestion about "assigning arguments to $args dynamically" and to look at how it is done in other places. But this is over my head. Is this something that you can help with? Or do you only offer support for your themes? Thanks!

  • Paul Barthmaier
    • Code Wrangler

    Hi there and welcome to the WPMU DEV Community for WordPress Support!

    What a lovely well-posed question! It is very much in the spirit of this community to share as much knowledge as possible as it relates to WordPress. We will need to draw the line at custom coding, but we're happy to have a look at a link you provide and make suggestions.

    As for assigning $args dynamically, probably best to leave this to Captain Feathersword and the rest of the Pirates, unless you want to be editing your php files!

    Cheers,
    Paul

  • jflip
    • New Recruit

    okay, I think i figured it out, so thanks anyhow. also, are these support conversations public or private? just curious for future questions - i might be looking for help from you guys, but not quite ready to post my site to the world.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.