Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/08/2007, 12:32
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 23 años, 2 meses
Puntos: 535
Re: ¿Como puedo hacer que un articulo se quede estatico en la primera posicion?

No sé si hay un plug-in, pero podés hacer lo siguiente:

- Creás una PAGE
- Vas a OPTIONS -> READING
- En Front page displays elegís "A static page" y elegís la PAGE recién creada para Front page
- Luego editás el archivo page.php y agregás un nuevo Loop:


Código PHP:
        <? query_posts('category_name<>""&showposts=10'); ?>
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <div class="post" id="post-<?php the_ID(); ?>">
        <h2><?php the_title(); ?></h2>
            <div class="entry">
                <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>

                <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ''after' => '</p>''next_or_number' => 'number')); ?>

            </div>
        </div>
        <?php endwhile; endif; ?>
Así lo tengo en mi blog (el de mi firma)
__________________
...___...