Ver Mensaje Individual
  #23 (permalink)  
Antiguo 19/05/2011, 14:43
ixac
 
Fecha de Ingreso: octubre-2008
Mensajes: 48
Antigüedad: 18 años
Puntos: 5
Respuesta: Colocar "balazo" al título (periódico digital)

Y por último,

wpzoom_recent_posts.php

Código PHP:
        <?php wp_reset_query(); ?>
          <div id="archive">
          
            <?php if (is_category()) { ?>
            
            <div class="title breadcrumbs">
              <?php $cat_ID = get_query_var('cat'); ?>
              <a href="<?php echo get_category_feed_link($cat_ID, '' ); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/icon_rss.png" alt="" /></a>
              <?php echo '<h3>'; wpzoom_breadcrumbs(); echo'</h3>'; ?>
            </div><!-- end .title -->
            
            <?php } 
            elseif (!
is_category() && !is_home()) { ?>
            
            <div class="title breadcrumbs">
              <?php echo '<h3>'; wpzoom_breadcrumbs(); echo'</h3>'; ?>
            </div><!-- end .title -->
            
            <?php }
            else { 
?>
            
            <div class="title">
              <h3><?php _e('Recent Posts', 'wpzoom');?></h3>
            </div><!-- end .title -->
            <?php } ?>
            
            <div class="box">
            
<?php if (have_posts()) : ?>
            <ul class="posts">
<?php    
    
while (have_posts()) : the_post();
    
$i++;
?>
              <li>
                <?php unset($img);
if ( 
current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail() ) {
                        
$thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '' );
            
$img = $thumbURL[0]; 
                        }

            else {
                unset(
$img);
                if (
$wpzoom_cf_use == 'Yes')
                {
                  
$img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
                }
                else
                {
                  if (!
$img)
                  {
                    
$img = catch_that_image($post->ID);
                  }
                }
              }

         if (
$img){ 
         
$img = wpzoom_wpmu($img);
         
?>
        <div class="cover"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&amp;h=120&amp;w=160&amp;zc=1" width="160" height="120" alt="<?php the_title(); ?>" /></a></div><?php } ?>
                <div class="postcontent">
                  <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                  <div class="postmetadata">
                    <ul>
                      <li class="calendar"><?php the_time("$dateformat"); ?></li>
                      <li class="author"><?php _e('By', 'wpzoom');?> <?php the_author_posts_link(); ?></li>
                      <li class="category"><?php the_category(', '); ?></li>
                      <li class="comments"><a href="<?php the_permalink() ?>#commentspost" title="Jump to the comments"><?php comments_number(__('no comments', 'wpzoom'),__('1 comment', 'wpzoom'),__('% comments', 'wpzoom')); ?></a></li>
                    </ul>
                  </div>
                  <?php the_excerpt(); ?>
                  <p class="more"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore" rel="nofollow"><?php _e('continue reading &raquo;', 'wpzoom');?></a> <?php edit_post_link( __('Edit this post', 'wpzoom'), ' | ', ''); ?></p>
                </div>
                <div class="cleaner">&nbsp;</div>
                <div class="sep">&nbsp;</div>
              </li>
<?php endwhile; //  ?>
            </ul>
            <div class="cleaner">&nbsp;</div>
  <?php else : ?>
  
  <p class="title"><?php _e('There are no posts in this category', 'wpzoom');?></p>
  
  <?php endif; ?>

          <div class="navigation">
            <p class="more"><?php next_posts_link(__('&laquo; Older Entries', 'wpzoom')); ?><?php previous_posts_link(__('Newer Entries &raquo;', 'wpzoom')); ?></p>
          </div><!-- end .navigation -->

            </div><!-- end .box -->

          </div><!-- end #archive -->
          
          <div class="cleaner">&nbsp;</div>

Pues ahi están los archivos, no sé si me haga falta alguno más, o si incluso postee de más, gracias por ayudarme.