Need a little Help with Wordpress and Adsense Integration

Discussion in 'WordPress' started by internetmarketingiq, Nov 18, 2008.

  1. #1
    I'm trying to help a client integrate Adsense into their site. I thought about posting to the Adsense Forum or the template forum, but I believe this is the best place because there must be some users that are already doing what I want to do.

    I'm looking for an easy way to integrate Adsense Custom Search into a template.

    If you look at the site www.bulldogabbie.com on the upper right where it says "search our site" I want to replace this with google custom search.

    Is there a widget or plug in that anyone knows of that makes this simple?

    I've read some posts and searched Google, but what I really want is to integrate it to default to google search and not have the radio buttons.
     
    internetmarketingiq, Nov 18, 2008 IP
  2. webtarded

    webtarded Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure there is one that does that. It would be a great plugin, but it would be different for every theme i think. I'm not great with css and layout, and every time i try to do something like this it takes me forever. Not to mention the frustration level.

    On the plus side, it doesn't look like it would be too hard to add a widget/textbox/whatever to your sidebar with the google custom search code in it, and then remove the site search from the header.

    If you want to keep it where it is and use google search, it's going to require a little more hacking. One thing that can help you out tremendously is a firefox plugin called firebug. You can change/edit/add things on the fly and see instant results without screwing up your theme.

    Anyway, good luck!
     
    webtarded, Nov 19, 2008 IP
  3. internetmarketingiq

    internetmarketingiq Well-Known Member

    Messages:
    3,552
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Thanks I'll take a peek at firebug. I find the more natural the implementation the more it gets used. Google translate is a perfect example. Looks horrible as a widget. But integrated with and API it looks great.
     
    internetmarketingiq, Nov 21, 2008 IP
  4. Ajucoolest

    Ajucoolest Well-Known Member

    Messages:
    616
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    128
    #4
    IMO take a look at your searchform.php in your wp-contents/themes/ current theme/ searchform.php and edit the portion where the search thing goes.

    Add your code and deploy options there. But backup your searchform.php Just in case.. :)
     
    Ajucoolest, Nov 22, 2008 IP