Posicionamiento del texto personalizado después de 'Leer más'

  • Autor Autor yz7hmpm
  • Fecha de inicio Fecha de inicio
yz7hmpm

yz7hmpm

Zeta
SEO
Verificación en dos pasos activada
Verificado por Whatsapp
En este caso hablamos del cuadro del adsense.
Deseo que este se encuentre luego del Leer más, y no al comienzo del artículo.
Ya modifique el single.php pero no puedo colocarlo despues de la parte introductoria (entiendasé antes del leer más), sino que me sale al comienzo, que hace que se vea horrible, al menos para mi.

Espero me orienten que archivo tocar o que línea, saludos.
 
Última edición:
Deja tu index.php aca y te lo acomodo 🙂
PHP:
<?php get_header(); ?>
    <div id="content" class="narrowcolumn">
    <?php if (have_posts()) : ?>

        <?php $i=0; while (have_posts()) : the_post(); $i++; ?>

            <div class="post" id="post-<?php the_ID(); ?>">
                <div class="post-top">
                    <div class="post-title">
                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Link Permanente para <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h2>
                        <h3>
                            Autor: <span><?php the_author_posts_link() ?></span> | Categoria: <span><?php the_category(', ') ?></span> | Fecha: <?php the_time('d-m-Y') ?>
                        </h3>
        </div>
                    

                </div>
                    

                <div class="entry">
                    <?php if($i==1 || $i==2) : ?>
                        <?php theme_google_468_ads_show(); ?>
                    <? endif; ?>
                    <?php the_content('',FALSE,''); ?>
                </div>

                <div class="postmetadata">
                    <p><a href="<?php the_permalink() ?>"><img src="http://www.hackeame.org/wp-content/uploads/2009/11/leer-mas.png" width="130" height="42" /></a></p>
                </div>
            </div>

        <?php endwhile; ?>
        
        <div class="entry">
            <?php theme_google_468_ads_show(); ?>
        </div>

        <div class="navigation">
            <?php if(!function_exists('wp_pagenavi')) : ?>
            <div class="alignleft"><?php next_posts_link('Previous') ?></div>
            <div class="alignright"><?php previous_posts_link('Next') ?></div>
            <?php else : wp_pagenavi(); endif; ?>
        </div>

    <?php else : ?>

        <h2 class="center">OOOOOOps.</h2> <br> <br>

<h4>Calma, esto estará solucionado muy pronto. 100 monos redactores estan creando el contenido que buscas.</h4>
 <br> <br>
<div align= center>
<img class="aligncenter" title="Bloggers de Hackeame" src="http://www.hackeame.org/wp-content/uploads/2011/04/error404-300x231.jpg" alt="Bloggers de Hackeame" width="300" height="231" />

    </div>
        <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>

    </div>

<?php get_footer(); ?>

Gracias
 
Asi es para que aparezca donde pides.

PHP:
<?php get_header(); ?>
    <div id="content" class="narrowcolumn">
    <?php if (have_posts()) : ?>

        <?php $i=0; while (have_posts()) : the_post(); $i++; ?>

            <div class="post" id="post-<?php the_ID(); ?>">
                <div class="post-top">
                    <div class="post-title">
                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Link Permanente para <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h2>
                        <h3>
                            Autor: <span><?php the_author_posts_link() ?></span> | Categoria: <span><?php the_category(', ') ?></span> | Fecha: <?php the_time('d-m-Y') ?>
                        </h3>
        </div>
                    

                </div>
                    

                <div class="entry">
                    <?php if($i==1 || $i==2) : ?>
                        <?php theme_google_468_ads_show(); ?>
                    <? endif; ?>
                    <?php the_content('',FALSE,''); ?>
                </div>

                <div class="postmetadata">
                    <p><a href="<?php the_permalink() ?>"><img src="http://www.hackeame.org/wp-content/uploads/2009/11/leer-mas.png" width="130" height="42" /></a></p>
                </div><br />(SALTO DE LINEA)
(ACA ADSENSE - <CENTER> SI QUERES CENTRARLO)
            </div>

        <?php endwhile; ?>
        
        <div class="entry">
            <?php theme_google_468_ads_show(); ?>
        </div>

        <div class="navigation">
            <?php if(!function_exists('wp_pagenavi')) : ?>
            <div class="alignleft"><?php next_posts_link('Previous') ?></div>
            <div class="alignright"><?php previous_posts_link('Next') ?></div>
            <?php else : wp_pagenavi(); endif; ?>
        </div>

    <?php else : ?>

        <h2 class="center">OOOOOOps.</h2> <br> <br>

<h4>Calma, esto estará solucionado muy pronto. 100 monos redactores estan creando el contenido que buscas.</h4>
 <br> <br>
<div align= center>
<img class="aligncenter" title="Bloggers de Hackeame" src="http://www.hackeame.org/wp-content/uploads/2011/04/error404-300x231.jpg" alt="Bloggers de Hackeame" width="300" height="231" />

    </div>
        <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>

    </div>

<?php get_footer(); ?>
 
Yo no me refería al index, sino en los post en si, para ser más grafico quiero que me salga el adsense como en el primer gráfico, ya que en este momento me sale como en el segundo.

hackeam2.webphackeame.org.webp
El punto de de entrada que quiero, es luego del Leer Más, saludos.
 
¿Utilizas algún plugin para mostrar los anuncios?
 
No, no ultilizo ninguno. Simplemente lo coloco en el single.php.
 
Atrás
Arriba