Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Inserting php call to Google Custom Search WordPress Plugin


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 3, 2012, 02:52 PM
bigliettaio's Avatar
bigliettaio
 
124 posts · Nov 2009
Italy
As i drive a Main domain and a subdomain,
to enable visitors to search and find contents pubblished in both sites i set a google custom search who i installed with mentioned plugin in the sidebars of both sites.

Now i would like to add the php row code for calling the plugin:
Quote:
<?php display_search_box($display_results_option); ?>
inside the BFA Atahulpa header in the same place where the theme put it own searching box ( off couse the Atahualpa searching box is disabled).

Could please explain me how to do, e.g.: where to put the code and how?

Main domani runs 3.4.9
and the subdomain runs Atahualpa 3.5.3.

Thanks!

Last edited by bigliettaio; Jan 3, 2012 at 04:01 PM.
  #2  
Old Jan 3, 2012, 10:03 PM
lmilesw's Avatar
lmilesw
 
9,474 posts · Jul 2009
Central New York State USA
In those versions you could wrap the code in a div with an id and put it various places in the theme options and then position with CSS. If you are planning on upgrading the theme you could add a New Widget area to those same places and then add the code to a php aware widget and again position with CSS.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress Plugin to call other plugins at run time ankit74 Plugins & Atahualpa 1 May 27, 2011 12:27 PM
Google map plugin with custom pins? paulae Plugins & Atahualpa 10 May 26, 2011 09:28 AM
Best Google Analytics plugin for Wordpress andr3w84 Plugins & Atahualpa 1 Jul 24, 2010 05:21 AM
[SOLVED] Google Custom Search Widget not working. simonsaysgo Sidebars & Widgets 1 Jan 6, 2010 07:27 PM
Google Custom Search Plugin upscho Plugins & Atahualpa 0 Feb 27, 2009 03:51 AM


All times are GMT -6. The time now is 06:48 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.