Converting a custom php/mysql script to WordPress
-
Hello guys.
I need help converting a custom script I made. I only need to convert the categories AND the articles.
My custom script uses a pretty simple db structure. One table for categories (cat_id, cat name, cat description, cat order), one for articles (id, article title, excerpt, text, link to picture), one for article_categories (where I tell which article has which categories).
I tried installing a fresh WordPress and figuring out which tables are related to which, but I couldn’t really figure it out.
So, could someone help me out, create a “formula” query, i.e. a query for ONE single article to be complete. Like, what would you manually insert to a database if you where to manually post a new blog article (not from admin). Then I could just create a php script to repeat that (batch) with data from my database.
- The topic ‘Converting a custom php/mysql script to WordPress’ is closed to new replies.