Ver Mensaje Individual
  #14 (permalink)  
Antiguo 02/06/2013, 13:35
Abelmelero
 
Fecha de Ingreso: marzo-2009
Mensajes: 168
Antigüedad: 15 años
Puntos: 1
Respuesta: Cómo NO poner Adsense en unos post en concreto.

Hola Nekko,

Aquí te dejo copiado y pegado todo el código del single.php:

Código HTML:
<?php get_header(); ?>

<div id="content">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="entry-body" id="post-<?php the_ID(); ?>">
<div class="entry-text">


<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>" class="entry-title"><?php the_title(); ?></a></h1>
<p></p>


 <script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxxxxxx";
/* 336x280, creado 24/11/10 */
google_ad_slot = "xxxxxxxxx";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


</div>
<?php the_content(); ?>

<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php the_tags( '<p class="entry-tags"><strong>Tags:</strong>  ', ', ', '</p>'); ?>

<div id="footer-navi">
<span class="navleft"><?php previous_post_link('&laquo; %link') ?><!-- --></span>
<span class="navright"><?php next_post_link('%link &raquo;') ?><!-- --></span>
</div>

</div>

<?php comments_template(); ?>

<?php endwhile; else: ?>

<div class="entry-body">
<h2 class="pagetitle">Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>

<?php endif; ?>

</div><!-- END Content -->