loop-entry.php how to use it on html pages? (2 posts)

  1. sarahsnhan@gmail.com
    Posted 3 years ago #

    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 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(' '); ?>
        <!-- END loop-entry-details -->
    </div><!-- END entry -->
    <?php } ?>
    <?php endwhile; ?>
  2. s_ha_dum
    Posted 3 years ago #

    Are you trying to create a new template? Creating actual content pages is done from the backend. You shouldn't need to worry about what the PHP looks like.

Topic Closed

This topic has been closed to new replies.

About this Topic