Cómo colocar Adsense sin afectar el diseño del sitio

  • Autor Autor Iskander
  • Fecha de inicio Fecha de inicio
I

Iskander

Delta
Bueno eso intenté poner un banner en el header de mi theme, pero se me desconfguró todo!!! la barra que viene abajo con el menú fue a dar a la china.

Mi pregunta es como se pone un adsense en cualquier lugar sin que mueva nada?

Saludos y gracias mi dedito verde los espera 😉
 
Que plataforma usas?
 
Para hacer las cosas mas sencillas y que no pase nada raro con el codigo puedes usar el plugin AdMan.
 
Utilizas algun plugin en especial? o lo estas queriendo hacer a puro codigo?
 
jajaja muy bueno el titulo, pensaba que era un "aporte"...

En donde quieres poner adsense?. Mostranos tu codigo y te ayudamos.
 
jajaja muy bueno el titulo, pensaba que era un "aporte"...

En donde quieres poner adsense?. Mostranos tu codigo y te ayudamos.

PHP:
<!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">
    <title><?php if (is_home()) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } else { ?><?php wp_title($sep = ''); ?> - <?php bloginfo('name'); ?><?php } ?></title>
    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <meta name="description" content="<?php bloginfo('description') ?>" />
    <?php if(is_search()) { ?>
    <meta name="robots" content="noindex, nofollow" /> 
    <?php }?>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/superfish.css" media="screen" />
    <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="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverintent.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
	<script type="text/javascript"> 
		$(document).ready(function(){ 
			$("ul.sf-menu").superfish({
				autoArrows:  false,
				delay:       400,                             // one second delay on mouseout 
				animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
				speed:       'fast',                          // faster animation speed 
				autoArrows:  false,                           // disable generation of arrow mark-up 
				dropShadows: false                            // disable drop shadows 			
				}); 
		});
    </script>
    <?php wp_head(); ?>
<link rel =”shortcut icon” href=”http://localhost/wordpress/favicon.ico”>
</head>

<body>
<div id="page">
	<div class="topnav">
		<ul>
			<li class="first"><a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">Home</a></li>
			<?php wp_list_pages('title_li='); ?>
		</ul>
		<ul class="fr">
			<li class="first"><a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe To Our Posts RSS Feed" target="_blank">Posts</a></li>
			<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Subscribe To Our Comments RSS Feed" target="_blank">Comments</a></li>
			<li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=<?php echo urlencode(get_option('convergence_feedburner_id')); ?>" title="Subscribe To Receive Email Updates" target="_blank">E-mail</a></li>
			<li><a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe To Our Posts RSS Feed"target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/ico-rss.gif" alt="RSS Feeds" /></a></li>
		</ul>
	</div>
	<div id="header">
		<h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></a></h1>
	</div>
	<!--/header -->
	<div id="nav1">
		<ul class="sf-menu sf-js-enabled">
			<?php wp_list_categories('title_li='); ?>
		</ul>
	</div>
<div style="margin-top:2px;"><script type="text/javascript"><!--
google_ad_client = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
/* 728x15, creado 24/09/09 */
google_ad_slot = "3131765000";
google_ad_width = 973;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>                
	<!--/nav1-->
	<div id="columns">
		<div id="centercol">



Enlace eliminado

Solucionado gracias a todos!!!
 
Última edición:
Atrás
Arriba