• Hi, I am so glad I found this theme, thank you. I would like to make a sticky or announcement post for category pages and have that post be full content. The following entries should just be the linked title of posts that follow. Actually excerpt of the posts would be okay too. I’ve tried a code replacement on the category.php file that nearly works. But two things happen. The right side bar shifts to left side of the page and it is below the post area. Next the dark grey inside the post area is gone leaving just the background. The post is not reader friendly like that. I am using the plugin for the sticky post function — WP-Sticky. The code I used to replace the code in the category.php files is:

    <?php if (have_posts()) : ?>
        <?php $count = 0; ?>
    
        <?php while (have_posts()) : the_post(); ?>
        <?php $count++; ?>
    
        <?php if ($count <= 1) : ?>
    
    			<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    
    			<div class="date">
    				<p><?php the_time('F j, Y'); ?></p>
    			</div>
    
    			<?php the_content(__('[Read more]'));?><div style="clear:both;"></div>
    
    			<div class="postmeta2">
    				<p>Filed Under <?php the_category(', ') ?> &middot; <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?> &nbsp;<?php edit_post_link('(Edit)', '', ''); ?></p>
    			</div>
    			<h1>Related Posts</h1>
        <?php else : ?>
    
        <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> 
    
        <?php endif; ?>
        <?php endwhile; ?>
        <?php else : ?>
        <?php endif; ?>

    Is their a solution for making a post sticky and have that post entire contents displayed while having the rest displayed by its title only or excerpted? Thank You.

  • The topic ‘Making Sticky Post Full Content’ is closed to new replies.