Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Select team from database WordPress post editor?

     
10:15 pm on Jul 30, 2014 (gmt 0)

New User

joined:July 30, 2014
posts:3
votes: 0


Hi

I want to choose (live search) and show home team and away team name and logo from database.

Already have teams table with names and logos.

Can someone help me how to do this?

Check the meta box image below
[oi59.tinypic.com ]

Thanks
10:44 pm on July 30, 2014 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Welcome to WebmasterWorld tko4,
So you want to search the database for the teams table for the search terms? Or will the content be available on the site somewhere?
9:10 am on July 31, 2014 (gmt 0)

New User

joined:July 30, 2014
posts:3
votes: 0


Yes after I choose team name and logo to show it n specific area inside post
12:05 pm on July 31, 2014 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


WordPress search and most search tools will only search what's published on the site already. I believe you'll need to write your own script to do the search and publish function.

You'll need to do this work inside the functions.php file in your theme's folder: hopefully you've created a child theme - or will do this so you can keep these customizations separate from the original file.

Having done something similar recently, you may find these helpful:

[codex.wordpress.org...]
[developer.wordpress.org...]
[codex.wordpress.org...]
[codex.wordpress.org...]