ThemeShaper Forums » Thematic

How do I ad Google Adsense for Search code to my child theme?

(4 posts)
  • Started 12 years ago by jdunbar
  • Latest reply from Chris
  • This topic is not resolved
  1. I want to use the Google AdSense for Search, but I have no idea where to put the code snippets without wrecking my site. Will I be able to just replace the Search widget that is already there?

    And what about the results? How do I make sure they stay displayed within the content area?

    Posted 12 years ago #
  2. Hi,

    create a function containing your code and add this function as action to thematic_above_searchloop or thematic_below_searchloop .. just an idea.

    Don't understand what you want to do with the search widget?!


    Posted 12 years ago #
  3. Thematic comes with a default Search widget, doesn't it? I want to basically replace it with the Google search, so that I only have one search field instead of two.

    I'm not very familiar with php, and I don't know how to create functions.

    Posted 12 years ago #
  4. Take a look here:

    Search for “google search”


    Posted 12 years ago #

RSS feed for this topic


You must log in to post.