0

I have a custom port type 'apartments' and each apartment has several parametres which I made into custom taxonomies, like 'number of rooms', 'area', 'region', 'status', etc.

The task is to show all apartments in a table on the archive page. The table will contain all of these taxonomies in columns and apartments in rows. Each of these will have their own formatting. For example, each region will have its own color (yellow for 1, blue for 2, etc), or statuses will have other colors (green for free, red for taken), like on the image below. how the archive page will look like (plus some css and a lot more taxonomies and apts

There also will be filters on the page, but that's a task for later.

There can be a lot of apartments on that page, so I'd really like to know which way is the quickest way to make the php query (queries) which will execute quickly and allow me to style output or put custom css class depending on the value of the taxonomy.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Feb 27 at 18:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.