Ver Mensaje Individual
  #11 (permalink)  
Antiguo 10/02/2013, 22:15
Avatar de 23r9i0
23r9i0
 
Fecha de Ingreso: noviembre-2008
Ubicación: Catalonia
Mensajes: 203
Antigüedad: 15 años, 5 meses
Puntos: 33
Respuesta: Cambios página inicio

Hola,
Exactamente no sabria por donde empezar pero bueno lo que comenta @hasdpk es por donde tienes que ir.
La cuestion es:
La sidebar cambiara en las demas paginas o tiene que ser igual que en el index?

Lo que tienes que hacer es crear dos loops en el index un loop que te muestre una entrada definida anteriormente como sticky post y excluir lo demas y otro loop que excluya los sticky post.

Código:
...
$sticky_post = get_option( 'sticky_posts' );
$sticky_post = new WP_Query( 'p=' . $sticky[0] );
if( $sticky_post[0] ): // comprobamos que hay sticky post
while( $sticky_post->have_posts() ): $sticky_post->the_post();
// tu contenido o get_template_part();
endwhile;
wp_reset_postdata();
else:
// sino hay sticky post
endif;
...
Código:
$query = new WP_Query( array( 'post__not_in' => get_option( 'sticky_posts' ) ) );
if( $query->have_posts() ): // comprobamos que hay  post
while( $query->have_posts() ): $query->the_post();
// tu contenido o get_template_part();
endwhile;
wp_reset_postdata();
else:
// sino hay  post
endif;
...
Estos codigos son un ejemplo ahora tendrias que adaptarlos a tu theme y editar el theme si tienes dos sidebar, etc...

Edito:
Tienes conocimientos de php?