I would like to set up a sort box where I can sort the items in the articles on the blog site.

Asked 1 years ago, Updated 1 years ago, 279 views

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.

Enter a description of the image here

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.

Enter a description of the image here

css

2022-09-30 21:59

1 Answers

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.


2022-09-30 21:59

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.