Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/08/2011, 06:56
amanelyra
 
Fecha de Ingreso: julio-2011
Mensajes: 11
Antigüedad: 12 años, 10 meses
Puntos: 0
Respuesta: Problema function has_post_format()

yo tengo el mismo problema me ocurre esto: ¿alguna idea?
Código HTML:
 </div><!-- .entry-meta -->
    
    <?php if ( is_home() || is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
            <div class="entry-summary">
  <?if ( has_post_format('thumbnail')): 
  echo 'this is the video format';


					$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
				?>
	          
                <div class="thumbnail-container"><img class="post-thumbnail" src="<?php bloginfo("template_directory"); ?>/library/functions/timthumb.php?src=<?php echo $image[0]; ?>&w=608&h=220&zc=1" border="0" /></div>
                <?php
				endif;
				the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'monochrome' ) ); ?>
            </div><!-- .entry-summary -->
    <?php else : ?>
            <div class="entry-content">
                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'monochrome' ) ); ?>
                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'monochrome' ), 'after' => '</div>' ) ); ?>
            </div><!-- .entry-content -->