Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 20th Jul 2011, 05:32 PM   #1
HyperActive Warrior
War Room Member
 
tjs1954's Avatar
 
Join Date: 2009
Location: Perrysburg, Ohio
Posts: 236
Thanks: 63
Thanked 24 Times in 22 Posts
Default
How do I install recipe database in WordPress
Share on: 
fb share twitter share gplus share more share

I have a SQL database of recipes and I am trying to get it in a wordpress site. I have done a new installation of WP then went into PHPMyAdmin and installed the database. It said it installed O.K. It is in the lists of databases and it named it "Recipes", how do I get it to come up in the site?

The DB is in catagories and sub-catagories but I don't know where to go from here.

Any help would be appreciated, DB's are not my strong suit.
tjs1954 is offline  
Unread 20th Jul 2011, 06:08 PM   #2
Marketing Evangelist
War Room Member
 
nthmarketing's Avatar
 
Join Date: 2011
Posts: 174
Thanks: 11
Thanked 24 Times in 18 Posts
Default
Re: How do I install recipe database in WordPress
Share on: 
fb share twitter share gplus share more share

Your going to have to write some PHP to query the data in the Database. The database is just where information is stored it doesn't really do anything you need to create a window into the database with some queries.

Fred
nthmarketing is offline  
Unread 21st Jul 2011, 07:33 PM   #3
VIP Warrior
War Room Member
 
ereadergold's Avatar
 
Join Date: 2008
Location: Montreal Canada
Posts: 2,390
Thanks: 1,017
Thanked 836 Times in 572 Posts
Blog Entries: 1
Default
Re: How do I install recipe database in WordPress
Share on: 
fb share twitter share gplus share more share

Yes, you will definitely need custom PHP code to do this. Essentially you need code to:

(1) connect to the database (you can use some of the built-in WordPress functions here, or just do it independently)

(2) Query the database - you'll probably want to use variables in the query so you can display items by category or provide a search facility.

(3) Display the results on the page.

In addition, if you want to make it look nice you might want to do an AJAX design, to avoid page refreshes. That will also involve JavaScript, or perhaps JQuery as it is included with WordPress anyway.

Sorry, no "out of the box" solution I'm aware of, perhaps others are.

Here are a few links if you want to attempt this:

PHP MySQL Introduction
PHP Tutorials: Creating a database using phpMyAdmin
PHP/MySQL Tutorial - Part 1
Writing a Plugin « WordPress Codex

Best of luck with your project

Bill
ereadergold is offline  
Unread 21st Jul 2011, 10:56 PM   #4
HyperActive Warrior
War Room Member
 
tjs1954's Avatar
 
Join Date: 2009
Location: Perrysburg, Ohio
Posts: 236
Thanks: 63
Thanked 24 Times in 22 Posts
Default
Re: How do I install recipe database in WordPress
Share on: 
fb share twitter share gplus share more share

Ok Bill, thanks for the information and the links.

Tim

Originally Posted by mywebwork View Post

Yes, you will definitely need custom PHP code to do this. Essentially you need code to:

(1) connect to the database (you can use some of the built-in WordPress functions here, or just do it independently)

(2) Query the database - you'll probably want to use variables in the query so you can display items by category or provide a search facility.

(3) Display the results on the page.

In addition, if you want to make it look nice you might want to do an AJAX design, to avoid page refreshes. That will also involve JavaScript, or perhaps JQuery as it is included with WordPress anyway.

Sorry, no "out of the box" solution I'm aware of, perhaps others are.

Here are a few links if you want to attempt this:

PHP MySQL Introduction
PHP Tutorials: Creating a database using phpMyAdmin
PHP/MySQL Tutorial - Part 1
Writing a Plugin « WordPress Codex

Best of luck with your project

Bill
tjs1954 is offline  
Closed Thread


Bookmarks

Tags
database, install, recipe, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:56 AM.