Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Inserting php call to Google Custom Search WordPress Plugin


  #1  
Old Jan 3, 2012, 02:52 PM
bigliettaio's Avatar
bigliettaio
 
128 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
 
10,176 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



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 11:59 AM.


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