Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/11/2010, 13:07
alvaro0022
 
Fecha de Ingreso: octubre-2009
Ubicación: Santa Fe
Mensajes: 206
Antigüedad: 14 años, 5 meses
Puntos: 7
Respuesta: Modificar diseño de tema wordpress

Esta es la index del tema:

Código:
<?php get_header(); ?>
<div class="home fix">
    <div class="left">
        <div class="recent-leads fix">
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <div id="post-<?php the_ID(); ?>" class="<?php echo ( is_first_post($post->ID) ) ? 'main-post-bg' : 'secondary-post-bg left'; ?>">
                <p class="post-comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
                <?php if ( is_first_post($post->ID) ) $img_src = get_post_meta($post->ID, 'lead_image', true); 
                    else $img_src = get_post_meta($post->ID, 'secondary_image', true); 
                    if ( $img_src == '' ) $img_src = '/wp-content/themes/theunstandard/images/theunstandard-blank.png';
                ?>
                
                <?php include (TEMPLATEPATH . '/includes/index_dynamic.php'); ?>
                
                
                <div class="title-insert">
                    <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
                </div>
            </div>
            <?php endwhile; ?>
            <div class="entry navigation radius-link fix">
                <br class="clear" />
                <p class="left"><?php previous_posts_link('&laquo; previous'); ?></p><p class="right"><?php next_posts_link('next &raquo;'); ?></p>
            </div>
            <?php else : ?>
            <div class="post single">
                <h2>No matching results</h2>
                <div class="entry">
                    <p>You seem to have found a mis-linked page or search query with no associated or related results.</p>
                </div>
            </div>
            <?php endif; ?>
        </div>
    </div>
    <div class="right">
        <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    </div>
</div>
<?php include (TEMPLATEPATH . '/show_categories.php'); ?>
<?php get_footer(); ?>
__________________
Fondos de pantalla
Juegos Gratis