WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Showing entire post on blogroll (1 post)

  1. thestealthyfox
    Member
    Posted 2 years ago #

    I'm using the slim template and instead of having snippets of post on the blogroll home page, I want to show the full post. Below is the code from the post-entry.php file. Can anyone help with a tweak as I can't get it to work.

    <?php while (have_posts()) : the_post(); $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'large'); ?>      
    
        <div class="post-entry">
    		<h2><a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    		<div class="post-entry-meta">Posted on <?php the_time('F jS, Y') ?> in <?php the_category(' '); ?> ~ <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?></div>
            <?php if ( has_post_thumbnail() ) {  ?>
            <div class="post-entry-featured-image">
    			<a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>" class="opacity"><?php the_post_thumbnail('post-image'); ?></a>
            </div>
            <!-- END post-entry-featured-image -->
            <?php } ?>
    		<?php the_excerpt(); ?>
    		<a href="<?php the_permalink(' ') ?>" class="post-entry-read-more" title="<?php the_title(); ?>">Read More</a>
        </div>
    	<!-- END post-entry -->
    <?php endwhile; ?>

    Site is http://happygraffiti.com to see what I'm trying to explain.

    Thanks in advance :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags