Title: Can i get php code
Last modified: September 18, 2017

---

# Can i get php code

 *  Resolved [mktunicus](https://wordpress.org/support/users/mktunicus/)
 * (@mktunicus)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/can-i-get-php-code/)
 * Hi,
 * I have recently uploaded your theme, but the problem is i need the php code of
   google search to add on my header section.
 * Please help me

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WebshopLogic](https://wordpress.org/support/users/webshoplogic/)
 * (@webshoplogic)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/can-i-get-php-code/#post-9526837)
 * Hi,
 * If your theme are customizable, and the admin area of the theme enables to add
   a shortcode into the page header, then you do not need any PHP code, just insert[
   wp_google_searchbox] shortcode into your page header.
 * If your theme does not have customizable header, then you or your site designer
   can use do_shortcode php statement to add the custom search box to your header:
 * `echo do_shortcode('[wp_google_searchbox]');`
    -  This reply was modified 8 years, 7 months ago by [WebshopLogic](https://wordpress.org/support/users/webshoplogic/).
 *  Thread Starter [mktunicus](https://wordpress.org/support/users/mktunicus/)
 * (@mktunicus)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/can-i-get-php-code/#post-9537837)
 * Hi,
 * Thank you so much I added the php code on header and it worked fine. It is showing
   me no result means my website is not indexed so right. On more thing if you review
   this website
    [http://vertebrand.com/](http://vertebrand.com/) on its google 
   search you can see web and image tab. Will it be possible to implement same tab
   on your plugin.
 *  Plugin Author [WebshopLogic](https://wordpress.org/support/users/webshoplogic/)
 * (@webshoplogic)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/can-i-get-php-code/#post-9548523)
 * Hi,
 * This plugin just inserts Google search function into your WP site, but the functionality
   is defined by Google, including web and image tabs.
    You can set a lot of options
   and the look and feel of the result set, on [https://cse.google.com/](https://cse.google.com/)
   but I think Google does not support to display web and image results on the same
   tab.
 * You can see Google CSE documentation or forums about this question.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can i get php code’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-search/assets/icon-256x256.png?rev=976021)
 * [WP Google Search](https://wordpress.org/plugins/wp-google-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-search/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-search/reviews/)

## Tags

 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * 3 replies
 * 2 participants
 * Last reply from: [WebshopLogic](https://wordpress.org/support/users/webshoplogic/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/can-i-get-php-code/#post-9548523)
 * Status: resolved