ciber Posted May 27, 2010 Share Posted May 27, 2010 I am currently trying to create a plugin for wordpress, basically I need the main page to show a list of all the items, when I click the title of an item I want it to edit. There is also an add feature, and all this is stored in a database. Now creating in PHP for me would be easy, but with wordpress I am confused as hell as to how it queries stuff and accesses the database. Does anyone know of any basic applications I can use to see how it works, or even better a tutorial or book that shows this. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/203116-creating-a-plugin-for-wordpress/ Share on other sites More sharing options...
calvinklein Posted June 20, 2010 Share Posted June 20, 2010 Wordpress queires the database through a function wp_query. You can read about it at http://codex.wordpress.org/Function_Reference/WP_Query. You dont require to specify the database setting just fire the query using wp_query. Thus makes it simpler to use wordpress with your database. website development australia Quote Link to comment https://forums.phpfreaks.com/topic/203116-creating-a-plugin-for-wordpress/#findComment-1074611 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.