[wp-hackers] How to handle this?

fris fris at fris.net
Fri Jun 24 19:06:29 UTC 2011


What kind of data is stored in the db for the static site?

You can also use the wpdb class to use a secondary database if you wish.

Have a look at this

http://wordpress.stackexchange.com/questions/1604/using-wpdb-to-connect-to-a
-separate-database



-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Peter van der
Does
Sent: Friday, June 24, 2011 1:34 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] How to handle this?

I'm converting a homegrown site, not written by myself, to WordPress.
The site consists of a bunch of static HTML pages and some PHP pages.

The PHP pages grab data from a DB and display the data, stuff like that,
nothing to serious.
Currently I've created a page for every old PHP page and by using shortcodes
I call the necessary function to display the data.

Am I on the right track or is there a better solution?

Peter

--
Peter van der Does

GPG key: CB317D6E

IRC: Ganseki on irc.freenode.net
Twitter: @petervanderdoes

WordPress Plugin Developer
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Twitter: @avhsoftware
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list