Change "excerpt" to normal post
-
Hi. I’m using the Campus theme, but I have one problem. I don’t know how to make him show all the content until the “more” I used in my post.
My loop.php {to loop the posts}
<ul class="academia-posts"> <?php while (have_posts()) : the_post(); unset($prev); $m++; ?> <li <?php post_class('academia-post'); ?>> <?php get_the_image( array( 'size' => 'thumb-loop-main', 'width' => 260, 'before' => '<div class="post-cover">', 'after' => '</div><!-- end .post-cover -->' ) ); ?> <div class="post-content"> <h2 class="title-post title-ms"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'campus' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_title(); ?></a></h2> <p class="post-excerpt"><?php echo get_the_excerpt(); ?></p> <p class="post-meta"><time datetime="<?php echo get_the_date('c'); ?>" pubdate><?php echo get_the_date(); ?></time> / <span class="category"><?php the_category(', '); ?></span></p> </div><!-- end .post-content --> <div class="cleaner">?</div> </li><!-- end .academia-post --> <?php endwhile; ?> </ul><!-- end .academia-posts --> <?php get_template_part( 'pagination'); ?>
I removed this
<?php get_the_image( array( 'size' => 'thumb-loop-main', 'width' => 260, 'before' => '<div class="post-cover">', 'after' => '</div><!-- end .post-cover -->' ) ); ?>
for remove the thumbnail image, but I don’t know how to see the post until the “more”.
I hope it’s easy to understand cause I’m really bad in explanations. Thanks if you can help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change "excerpt" to normal post’ is closed to new replies.