loop-entry.php how to use it on html pages?
-
The theme I installed has a loop-entry.php and it has all the codes, but I don’t know how to use it when I create a page. What to put in order to use it?
It’s not option for template..
How should I use it when creating a page?
The following is the code I have:
<?php while (have_posts()) : the_post(); ?> <?php if(has_post_thumbnail() ) { ?> <div class="loop-entry"> <div class="loop-entry-thumbnail"> <a>" title="<?php the_title(); ?>"><?php the_post_thumbnail('post-thumb'); ?></a> </div> <div class="loop-entry-details"> <h2><a>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <?php echo excerpt('15'); ?> <div class="loop-entry-cat"> <?php _e('Posted In', 'pronto'); ?>: <?php the_category(' '); ?> </div> </div> <!-- END loop-entry-details --> </div><!-- END entry --> <?php } ?> <?php endwhile; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘loop-entry.php how to use it on html pages?’ is closed to new replies.