[ad_1]
Let’s say I have an existing database and each row is a page. It has the name, description, image links, etc
Then I have a WordPress template (not sure if that’s the right term) for what a page should look like – title at top, image gallery on left, description on right.
I’m assuming there is a way to take each row in my database, fill in the template with its values, and make that a page (or post?) on my site. After all, this pretty much what WP is doing under the hood itself I think. Yet I can’t seem to find directions on how to accomplish it. Any pointers?
[ad_2]
In my last project, I made a wordpress plugin to display data from a specific table in my database.
I am just a beginner in PHP SQL but I used chatGPT to assist me and I managed to do it. I would advise you to check chatGPT to make what you need.
You would use a specific page template and probably a custom post type for that, not a plugin probably (my plugin allowed for shortcodes to be placed on the pages I wanted, not on every pages like you seem to want).