Cómo eliminar la publicidad después de cambiar el diseño

  • Autor Autor Daniel Ansaldi
  • Fecha de inicio Fecha de inicio
D

Daniel Ansaldi

Delta
Programador
Bueno, hace un rato le cambie el diseño a el blog mio y sale toda publicidad que nose como sacarla. Pueden verla publicidad
Intente casi todo pero no pude :S

Espero que me puedan ayudar
Saludos
 
Hay varios banners de publicidad alli ¿cuál no te pertenece?
 
Ninguno me pertenece xd, todos vinieron con el theme y no son de creditos ni nada :S
 
Ninguno me pertenece xd, todos vinieron con el theme y no son de creditos ni nada :S

Esos themes tienen una parte donde los configuras y los puedes quitar, el superior grande nunca viene con esos themes asi que si tu no lo pusiste no se de donde saldria, el del pie de pagina creo que es de tu server (me imagino que tienes uno gratuito) y para quitarlo debar buscar en google algo como "quitar publicidad y el nombre de tu host)
 
No es publicidad del host, anteriormente tenia otro theme y ni una imagen de publicidad, puse este theme y aparecio la publicidad. La publicidad es del theme.
 
No es publicidad del host, anteriormente tenia otro theme y ni una imagen de publicidad, puse este theme y aparecio la publicidad. La publicidad es del theme.

Bueno como te digo igual el theme tiene un area de configuracion donde puedes agregar o quitar banners, tambien donde puedes poner tu rss y tu cuenta de twitter, si no quieres ningun banner deja en blanco los espacios y guarda o cambialos por los banners que tu quieras.

El banner de abaja el de adsense nunca lo avía visto en ninguno de esos themes, pero igual entra al footer y busca "google" y elimina esa parte del codigo


Elimina esto mira


Insertar CODE, HTML o PHP:
<script type="text/javascript"><!--
 google_ad_client = "pub-5902005555376477";
 //468x60, usuarios 260MB 26/01/08
 google_ad_slot = "5953848174";
 google_ad_width = 468;
 google_ad_height = 60;
 //--></script> 
 <script type="text/javascript"
 src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
 </script>

Pero te digo se me hace raro... incluso el nombre del banner es raro

468x60, usuarios 260MB 26/01/08
 
Sacando ese código se hirían todos los banner publicitarios? En que archivo está ese code en el index?

Gracias por todo! 🙂
PD: El theme lo descargue gratis de Internet xd
 
Da los códigos de tu single.php, de tu index.php y de tu sidebar.php para que podamos decirte qué códigos remover.
 
Sorry x el offtopic pero...ese tema está chido xDD.

Eso eso, pasá tu index, single y sidebar y ahí te viene la ayuda.
 
Para inciar tu alojamiento es gratuito, en cuanto tengas algo de dinero te recomiendo pasarte a uno de paga..
 
Para inciar tu alojamiento es gratuito, en cuanto tengas algo de dinero te recomiendo pasarte a uno de paga..

Creo que mencionó que era independiente de su alojamiento gratuito:

No es publicidad del host, anteriormente tenia otro theme y ni una imagen de publicidad, puse este theme y aparecio la publicidad. La publicidad es del theme.

Hay que esperar que coloque los archivos de su theme aún.
 
Index.php

Insertar CODE, HTML o PHP:
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>

Sidebar.php

Insertar CODE, HTML o PHP:
	<div id="sidebar">
		<ul>
			<li class="nobackground">
				<?php get_search_form(); ?>
			</li>

			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.  -->
			<li><h2>Bienvenido</h2>
            <p>Bienvenido a DescargasTIP.! Aqu&iacute; encontrar&aacute;s todo tipo de descargas para tu PC gratis.</p>
			</li>

			<!-- Banners  / OPTIONAL  -->
			<!-- Banners' size must be 125x125 -->
			<li class="ads clearfix"><h2>Patrocinadores</h2>
				<!-- First Row -->
				<a class="ad-left" href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="" /></a>
				<a class="ad-right" href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="" /></a>
			</li>


			<?php 	/* Widgetized sidebar, if you have the plugin installed. */
					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

			<?php wp_list_pages('title_li=<h2>Paginas</h2>' ); ?>   

            <!-- Optional - Latest Posts
            <li><h2>Latest Posts</h2>
                <ul>
                    <?php get_archives('postbypost', 10); ?>
                </ul>
            </li>-->

			<li><h2>Archivos</h2>
				<ul>
				    <?php wp_get_archives('type=monthly'); ?>
				</ul>
			</li>

			<?php wp_list_categories('show_count=1&title_li=<h2>Categorias</h2>'); ?>

			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
				<?php wp_list_bookmarks(); ?>

				<li><h2>Meta</h2>,
				<ul>
					<?php wp_register(); ?>
					<li><?php wp_loginout(); ?></li>
					<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">V&aacute;lido <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
					<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
					<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
					<?php wp_meta(); ?>
				</ul>
				</li>
			<?php } ?>

			<?php endif; ?>
		</ul>
	</div>

Single.php

Insertar CODE, HTML o PHP:
	<div class="span-24" id="contentwrap">	
			<div class="span-13">
				<div id="content">	
					<?php if (have_posts()) : ?>	
						<?php while (have_posts()) : the_post(); ?>
						<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
							<div class="datebig"><span><?php the_time('F') ?> <span><?php the_time('j') ?></span></span> <?php the_time('Y') ?></div>
							<h2 class="title"><?php the_title(); ?></h2>
							<div class="postdate">Posted by <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> Under <?php the_category(', ') ?>  <img src="<?php bloginfo('template_url'); ?>/images/comments.png" /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> | <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div>
							<div class="postmeta"><?php if(get_the_tags()) { ?> <img src="<?php bloginfo('template_url'); ?>/images/tag.png" /> <?php  the_tags('Tags: ', ', '); } ?></div>
						
							<div class="entry">
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
								<?php the_content('Read the rest of this entry &raquo;'); ?>
								<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
							</div>
						
							<div class="navigation clearfix">
								<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
								<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
							</div>
							
							<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
								// Both Comments and Pings are open ?>
								You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
	
							<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
								// Only Pings are Open ?>
								Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
	
							<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
								// Comments are open, Pings are not ?>
								You can skip to the end and leave a response. Pinging is currently not allowed.
	
							<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
								// Neither Comments, nor Pings are open ?>
								Both comments and pings are currently closed.
	
							<?php } edit_post_link('Edit this entry','','.'); ?>
						</div><!--/post-<?php the_ID(); ?>-->
						
				<?php comments_template(); ?>
				
				<?php endwhile; ?>
			
				<?php endif; ?>
			</div>
			</div>
		<?php get_sidebars(); ?>
	</div>
<?php get_footer(); ?>


Esos son los archivos.! Muchas gracias espero que me puedan ayudar!
 
Última edición:
Atrás
Arriba