Can someone point me in the right direction to auto generate posts based on data?

[ad_1]

I used to build custom wp themes about 10 years ago, so while my wp knowledge is outdated, I’m still very familiar and capable of figuring things out, just need a push in the right direction.

What I need is a plugin, a built in feature, or at least to know I will have to build something from scratch (to avoid researching too much). My needs are to generate bulk posst from a list of variables. I saw that I can upload csv files and have it generate posts but the options I have seen seem to take each column given and convert it to a specific block on the page (content, image, title, etc)

what I need instead is to have a template for example:

(title)

(person) lives in (locations) and likes (meals).

and have that be the entire post generated by a csv with columns for title, animal, locations, meals. The tricky part I suppose is that I also need it to create a post for every possible combination so if I have people set to (sam, eric), location set to (Paris, Rome) and meals set to (pasta, bagels). Then it should produce the following posts:

* Sam lives in Paris and likes Pasta
*
* Sam lives in Paris and likes Bagels
*
* Sam lives in Rome and likes Pasta
*
* Sam lives in Rome and likes Bagels
*
* Eric lives in Paris and likes Pasta
*
* Eric lives in Paris and likes Bagels
*
* Eric lives in Rome and likes Pasta
*
* Eric lives in Rome and likes Bagels

Is there a prebuilt solution? Im wondering if I can do it via uploading a csv file through a plugin, or if there are some sort of lists I can build within word press of categories and create posts that cross reference the different lists using the data as variables inserted into content. Thanks

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer