I'd like to make a filter box that lists the items in the article on my site in the order of price and the date of release.The image below is a screenshot from FANZA, and I just want to make a sort box like this.
What kind of knowledge is needed to create such a dynamic system?
In other words, can it be realized by applying CSS, PHP, JS, etc.?Also, I have not been able to move forward with the task (I use WP for site production) because I have little experience in what kind of code to write in that case.
If you have experience in creating filter boxes or have worked on them, I would appreciate it if you could tell me what technology was needed, how it worked, and how it didn't work.
This is what my site's current product display looks like.
css
First of all, the expressions "filter box" and "sort box" are not common.
(Even if you search on Google, you'll only see a physical box.)
HTML alone is possible if you simply display filter (pull-down menu) items as parts, but you will need to know PHP and database connectivity to actually display items in any sort order.
As pointed out in the comments section, sorting itself should be relatively easy in any programming language if you have all the data you want to sort into the database in advance.
© 2024 OneMinuteCode. All rights reserved.