GVald
Power Member
- Mar 28, 2020
- 669
- 778
This is NOT a Tutorial, I'm looking for people that done it to give me some insight!
Hello guys,
So I have a project, I need to generate a lot of pages (like A LOT) on WordPress, based on data stored in a CSV (I will put the CSV data into SQL format, so I can make a database, I believe that would make thing easier from the start). I checked the forum for this type of stuff, I found people that have done it, but no one that explain how to do it, I'm not looking for A to Z tutorial, just some direction to go into.
Let's pretend that's the table:
So I would like to create one page per name, and show data (sql fetch), how do that on auto pilot, like I make one template with the variable, and with a foreach automate the process for the rest of the database.
"The name $name is used by $nbr person in the US" -> That would make 3 pages, one for Alex, one for Robert, and one for Louis. Of course, this is very basic, that's just to show what I would like to do.
I have knowledge in PHP and SQL, but not really on WordPress (dev side), it looks like Laravel a little bit from what I've seen, which I have some basic knowledge. Also, if there's a plugin that do such thing, I'm interested!
Thanks for reading, hope some people here can help!
Hello guys,
So I have a project, I need to generate a lot of pages (like A LOT) on WordPress, based on data stored in a CSV (I will put the CSV data into SQL format, so I can make a database, I believe that would make thing easier from the start). I checked the forum for this type of stuff, I found people that have done it, but no one that explain how to do it, I'm not looking for A to Z tutorial, just some direction to go into.
Let's pretend that's the table:
| id | name | nbr (Number person having that name) |
| 1 | Alex | 100 000 |
| 2 | Robert | 60 000 |
| 3 | Louis | 215 000 |
So I would like to create one page per name, and show data (sql fetch), how do that on auto pilot, like I make one template with the variable, and with a foreach automate the process for the rest of the database.
"The name $name is used by $nbr person in the US" -> That would make 3 pages, one for Alex, one for Robert, and one for Louis. Of course, this is very basic, that's just to show what I would like to do.
I have knowledge in PHP and SQL, but not really on WordPress (dev side), it looks like Laravel a little bit from what I've seen, which I have some basic knowledge. Also, if there's a plugin that do such thing, I'm interested!
Thanks for reading, hope some people here can help!