Jump to content
ricktendo

[Help] HTML to PHP AddSense code

Recommended Posts

Hello folks, who can help me I am trying to add Google AddSense adds and search to my webpage http://ricktendo.com/ but have no clue about web design (as you can tell i suck) ..if anybody could help I am trying to add the following html code to my page, currently I used a html to php web converter and its working but I would like to center it

Here is the original code I got from google

****Adds****

<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
/* UPL Site Adds */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

****Search****

<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
<div>
<input type="hidden" name="cx" value="partner-pub-XXXXXXXXXXXXXXXX:uto831-ucsl" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Buscar" />
</div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script>

If somebody could point me in the right direction

Share this post


Link to post
Share on other sites

Google doesnot allow editing adsense code ( read their ToS)..

why i need to change it to html ?? since u are using wordpress u can search for some adsense plugin.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...