• Resolved mktunicus

    (@mktunicus)


    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

    (@webshoplogic)

    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 7 years, 2 months ago by WebshopLogic.
    Thread Starter mktunicus

    (@mktunicus)

    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
    https://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

    (@webshoplogic)

    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/ 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.