Jump to content

Creating a Plugin for Wordpress


ciber

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/203116-creating-a-plugin-for-wordpress/
Share on other sites

  • 4 weeks later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.