Results 1 to 2 of 2
Dec 18, 2008, 02:08 #1
- Join Date
- Mar 2008
- United Kingdom
- 0 Post(s)
- 0 Thread(s)
Bolt on existing PHP script to my WP site?
I've built a PHP script that allows people to add and edit property listings on a web site.
A client has asked if the same software could be bolted on to their existing WP installation so they can do it all through the wp-admin. Is this possible?
Where would I begin?
Dec 18, 2008, 08:21 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 112 Post(s)
- 1 Thread(s)
I guess the first place would be WordPress. Once you know how to write a plugin you can create the ACP to interact with the database. If each listing is a "post", then you shouldn't need to do too much, if any, template hacking to display them.
There may be some tutorials on plugin writing, but I learned by studying other plugins after skimming the codex to get familiar with terms and definitions. True, you may end up learning some less than best practice coding, but it's a start that will give a feel for how things work. Keep referencing the codex (not the most pleasant experience perhaps) to make sure you're doing things correctly and as efficiently as possible (i.e. use WP core functions when they're available).
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum