Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.