Extending the WordPress database


show more Extending the WordPress database provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Building Sites show less
please wait ...

Extending the WordPress database

All of the posts, pages, settings and even user details for a WordPress- driven site are stored in a MySQL database, established when you first install WordPress. For the most part, this is a seamless invisible operation, so much so you may forget that you've got a fully functioning database at your disposal. In this chapter, we'll take a look at one of the ways you can leverage that database and Dreamweaver's code- writing prowess to include dynamic data from your own database tables in your WordPress pages.

Let's start with creating a new table in the WordPress-created database. So, I am going to switch over to phpMyAdmin, which I've invoked from WAMP server, and I'll choose my database, tpa, and then select SQL. Now I can paste in any SQL here that I want. I had previously developed a SQL table and then exported that file. It's now stored as planets.sql, located in the Exercise Files, under Chapter 5, 05_01.

So let's go into Dreamweaver and pick that up...

Extending the WordPress database
Video duration: 4m 59s 1h 42m Intermediate

Viewers:

Extending the WordPress database provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Building Sites

Subject:
Web
Software:
Dreamweaver WordPress
Author:
please wait ...