|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Smurf Join Date: Jan 2006
Posts: 21
![]() | i have this website www.hillaryslaugh.com,i have used a wp template .Can someone tell me how to edit and use adsense on the top right hand side corner just above the amazon ads. I dont have html desigining or coding knowledge , i am just learning by trial and error .I got everything else fixd only this one issue that i tried but was not sucess full Thanks -Steve |
| |
|
| |||||||
| | #2 | |
| Junior Member | it very simple in you html code look for this. Quote:
| |
| |
| | #3 |
| Smurf Join Date: Jan 2006
Posts: 21
![]() | Hi kashwak, Thanks for your reply .I am not able to locate the code that you asked for me ,i am pasting the header code for the template can you tell me what i should edit. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/ie6_style.css" /> <![endif]--> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <script type="text/javascript" src="<?p hp bloginfo('stylesheet_directory'); ?>/js.js"></script> <?php wp_head(); ?> </head> <body> <a name="top"></a> <!-- Begin: Header //--> <div id="topbar"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/spacer.gif" width="100" height="12" alt="" /></div> <div id="header"> <div class="page clearfix"> <div id="networksearch"> <div id="network"> <select name="networks" onchange="network_jump('window.open()',this,1)"> <option value="http://www.www.democraticunderground.com">Democrats</option> <option value="http://www.2journal.com">Personal Review</option> <option value="http://www.Indiandrugshop.com/">Indian Medicine Reviews</option> <option value="http://www.Bestnudeblogs.com">Nude Blog Review</option> <option value="http://www.University.ms/digitalcamera">University Reviews</option> <option value="http://www.Shotbyu.com">RAte Pictures</option> <option value="http://www.Mydiscountshop.co.uk">Shop Online</option> </select> </div> <div id="search_wrapper"> <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" class="search_input" /> <p><input type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/button_search.gif" name="searchsubmit" id="searchsubmit" value="Search" /></p> </form> </div> </div> <div id="logoad_wrapper"> <div id="logo"><a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.gif" alt="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" /></a></div> <div id="header_adwrapper"> <div><img src="<?php bloginfo('stylesheet_directory'); ?>/images/spacer.gif" alt="" width="400" height="12" /></div> <div id="header_ad"> <!-- <!-- BEGIN ClickCash.com HTML SOURCE *** DO NOT ALTER THIS SOURCE *** Any alteration will disqualify all traffic Copyright (c) 2000,2001 WebPower/SafeSexPlus/ClickCash http://www.ClickCash.com/ (since 1995) --> <script language="JavaScript"> <!-- document.writeln('<A HREF="http://ClickCash.WebPower.com/SetPermanentSignupCookie.cgi?svc=IF&lang=ENGLISH&t ype=REVSHARE&mode=1&art=PSYCHIC/PSYCHIC2.GIF&acct=SOWHATEVER711&url=http://www.ifriends.net&ref=' + document.referrer + '" OnMouseOver="window.status=\'Click here for iFriends.net\'; return true" target="_top">') document.writeln('<img src="http://clickcash.WebPower.com/SetPermanentSignupCookie.cgi?svc=IF&lang=ENGLISH&t ype=REVSHARE&mode=2&art=PSYCHIC/PSYCHIC2.GIF&acct=SOWHATEVER711&url=http://www.ifriends.net&ref=' + document.referrer + '" height="60" width="468" border=0></A>') //--> </script> <noscript> <A HREF="http://ClickCash.WebPower.com/SetPermanentSignupCookie.cgi?svc=IF&lang=ENGLISH&t ype=REVSHARE&mode=1&art=PSYCHIC/PSYCHIC2.GIF&acct=SOWHATEVER711&url=http://www.ifriends.net" OnMouseOver="window.status='Click here for iFriends.net'; return true" target="_top"> <img src="http://ClickCash.WebPower.com/SetPermanentSignupCookie.cgi?svc=IF&lang=ENGLISH&t ype=REVSHARE&mode=2&art=PSYCHIC/PSYCHIC2.GIF&acct=SOWHATEVER711&url=http://www.ifriends.net" height="60" width="468" border=0></A> </noscript> <!-- END ClickCash.com HTML Source --> !--> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/468x60.gif" alt="" /> </div> </div> <div class="clear_left"></div> <div class="clearfix"> <ul id="pages"> <li<?php if (is_home()) echo " class=\"active_page\""; ?>><a href="<?php bloginfo('url'); ?>"><span>Home</span></a></li> <?php $pages = CMSTheme_GetPages(); if ($pages) { foreach ($pages as $page) { $page_id = $page->ID; $page_title = $page->post_title; $page_name = $page->post_name; if ($page_name == "archives") { (is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' class="active_page"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\"><span>Archive s</span></a></li>\n"; } elseif($page_name == "about") { (is_page($page_id))?$selected = ' class="active_page"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\"><span>About</span></a></li>\n"; } elseif ($page_name == "contact") { (is_page($page_id))?$selected = ' class="active_page"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\"><span>Contact </span></a></li>\n"; } elseif ($page_name == "about_short") {/*ignore*/} else { (is_page($page_id))?$selected = ' class="active_page"':$selected=''; echo "<li".$selected."><a href=\"".get_page_link($page_id)."\"><span>$page_t itle</span></a></li>\n"; } } } ?> </ul> </div> </div> </div> </div> <!-- End: Header //--> <!-- Begin: SubHeader //--> <div id="subheader_wrapper"> <div id="subheader" class="clearfix"> <h2>Recently Posted</h2> <div id="subheader_adwrapper"> <div id="subheader_adwrap"> <div class="subheader_ad"> </div> </div> <div><img src="<?php bloginfo('stylesheet_directory'); ?>/images/label_advertisement.gif" alt="advertisement" /></div> <br clear="right" /> <br clear="right" /> </div> <div id="recent_postwrapper"> <div class="recent_postwrap"> <div id="recent_post"> <ul> <?php $p=$post->ID;?> <?php CMSTheme_GetRecentPosts($p, 13); ?> </ul> <div class="clear_left"></div> </div> </div> <div class="subheader_adsense"> <script type="text/javascript"><!-- google_ad_client = "pub-8775695350394699"; google_ad_width = 468; google_ad_height = 15; google_ad_format = "468x15_0ads_al_s"; google_ad_channel = ""; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "0084d4"; google_color_text = "5C5A5A"; google_color_url = "629400"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <br clear="left" /> <br clear="left" /> </div> </div> </div> <!-- End: SubHeader //--> |
| |
| | #4 |
| Smurf Join Date: Jan 2006
Posts: 21
![]() | Ok now i screwed up ,i dont know what changes i did and this is the error i get when i go t to the site Parse error: syntax error, unexpected T_STRING in /home/mydiscou/public_html/hillaryslaugh/wp-content/themes/TechBlog/TechBlog/header.php on line 13 Please help |
| |
| | #5 |
| Junior Member | ok it will not be in your header. if you want it in the same box as the AMAZON links then you will need to place it just above the AMAZON code that you pasted to put up those links. which is in <!-- Begin: Main Content - Posts and Sidebar //--> just under this you will find that code i posted. as for the error code your getting i do not get any errors when i go there. if you need more help you can reach me either on msn= kashwak yahoo=gwarriorz2007 Last edited 10-17-2007 at 08:25 PM. Reason: sounded rude |
| |
| | #6 |
| MVP Runner-up 2006 Contributor Join Date: Sep 2006 Location: Antwerpen / Belgium
Posts: 392
![]() ![]() ![]() | Kashwak : great help you offered here...rep added.
__________________ Take a look at Eric's Books Site to know what I read or at Eric's Boeken Site for the Dutch talking.Add your book-related website at my Books Directory. |
| |
| | #7 |
| Junior Member | thanks i try to help people out if i know what im doing. |
| |
| | #8 |
| Junior Member | well i hope that helps you out steve. if ya need anything else just hit me up |
| |
| | #9 |
| Smurf Join Date: Jan 2006
Posts: 21
![]() | Many thanks to Kashwak !! he has been a great help and helped me fix the issue that i had with my template .He deserves A+++++ Rating. Awesome forum , an asset to the forum. -Steve |
| |
| | #10 |
| Junior Member | anytime steve. im just glad i could help someone. |
| |
| | #11 |
| MVP Runner-up 2006 Contributor Join Date: Sep 2006 Location: Antwerpen / Belgium
Posts: 392
![]() ![]() ![]() | Great to hear... don't forget to leave him reputation.
__________________ Take a look at Eric's Books Site to know what I read or at Eric's Boeken Site for the Dutch talking.Add your book-related website at my Books Directory. |
| |
| | #12 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I agree, he does deserve to be recognized for helping out....Rep added Kashwak. |
| |
| | #13 |
| Junior Member | sorry off topic but i'm just wondering. everyone is alking about rep. so what does it do? cause i have never used vbulletin. i am use to karma and coins an stuff like that, that shows up next to your name? is it the same thing? |
| |
| | #14 |
| MVP Runner-up 2006 Contributor Join Date: Sep 2006 Location: Antwerpen / Belgium
Posts: 392
![]() ![]() ![]() | yes, it is the same thing. You can see a graphical representation of your reputation by looking at the little green squares under your avatar... As you can see, jumpenjuhosaphat has a lot of good reputation. (still trying to discover why )Just check your User CP to discover your reputation level and... if they did mention it (I always do, positive or negative)...who gave it.
__________________ Take a look at Eric's Books Site to know what I read or at Eric's Boeken Site for the Dutch talking.Add your book-related website at my Books Directory. Last edited 10-18-2007 at 03:59 PM. Reason: CP thinghy |
| |
| | #15 |
| Smurf Join Date: Jan 2006
Posts: 21
![]() | I have just done that . -Steve ![]() |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|