homepage Welcome to WebmasterWorld Guest from 54.166.53.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Select team from database WordPress post editor?
tko4



 
Msg#: 4691853 posted 10:15 pm on Jul 30, 2014 (gmt 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

 

lorax

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4691853 posted 10:44 pm on Jul 30, 2014 (gmt 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?

tko4



 
Msg#: 4691853 posted 9:10 am on Jul 31, 2014 (gmt 0)

Yes after I choose team name and logo to show it n specific area inside post

lorax

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4691853 posted 12:05 pm on Jul 31, 2014 (gmt 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...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved