WordPress.org

Ready to get started?Download WordPress

Forums

Tweaking Hemingway Reloaded 1.0 (3 posts)

  1. Aurora
    Member
    Posted 7 years ago #

    Hi there,

    I've been fiddling with the Hemingway Reloaded 1.0 theme on my blog:

    http://www.charl.info

    and I've had success making only one post appear on the front page, but I'm having trouble getting a list of recent posts to appear on the left of the front page under the 'about this blog' heading. If anyone has any advice, I'd really appreciate it. Thanks!

    This is how my index.php currently looks.

    <?php get_header(); ?>
    
    <div id="primary" class="single-post"> 
    
      <div class="inside">
    <?php
    
    				// Here is the call to only make one post show up on the homepage REGARDLESS of your options in the control panel
    
    				query_posts('showposts=1');
    
    			?>
    
     <!--   <?php if (have_posts()) : while (have_posts()) : the_post(); ?> -->
    
        <div class="primary"> 
    
          <h1>
    
            <?php the_title(); ?>
    
          </h1>
    
          <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
    <div class="details">
    
    							Posted at <?php the_time('ga \o\n n/j/y') ?> | <?php comments_popup_link('no comments;', '1 comment', '% comments'); ?> | Filed Under: <?php the_category(', ') ?> | <?php edit_post_link('Edit.'); ?>
    
    						</div>
    
        </div>
    
        <hr class="hide" />
    
        <div class="secondary"> 
    
          <h2>About this blog</h2>
    
          <div class="featured"> 
    
    <p>You&rsquo;re currently reading
    <?php bloginfo('name'); ?>, a blog for Charl's family and friends.
    It's as boring as hell. Don't say I didn't warn you...
    
    </p>
    
     <!--      <p>You&rsquo;re currently reading &ldquo;
    
              <?php the_title(); ?>
    
              ,&rdquo; an entry on 
    
              <?php bloginfo('name'); ?>
         <dl>
    
              <dt>Published:</dt>
    
              <dd>
    
                <?php the_time('n.j.y') ?>
    
                / 
    
                <?php the_time('ga') ?>
    
              </dd>
    
            </dl>
    
            <dl>
    
              <dt>Category:</dt>
    
              <dd>
    
                <?php the_category(', ') ?>
    
              </dd>
    
            </dl>
    
            <?php edit_post_link('Edit this entry.', '<dl><dt>Edit:</dt><dd> ', '</dd></dl>'); ?> -->
    
          </div>
    
        </div>
    
        <div class="clear"></div>
    
      </div>
    
    </div>
    
    <!--
    
    <hr class="hide" />
    
    <div id="secondary"> 
    
      <div class="inside"> 
    
        <?php if ('open' == $post-> comment_status) {
    
    				// Comments are open ?>
    
        <div class="comment-head"> 
    
          <h2>
    
            <?php comments_number('No comments','1 Comment','% Comments'); ?>
    
          </h2>
    
          <span class="details"><a href="#comment-form">Jump to comment form</a> | 
    
          <?php comments_rss_link('comments rss'); ?>
    
          <a href="#what-is-comment-rss" class="help">[?]</a> 
    
          <?php if ('open' == $post->ping_status): ?>
    
          | <a href="<?php trackback_url(true); ?>">trackback uri</a> <a href="#what-is-trackback" class="help">[?]</a>
    
          <?php endif; ?>
    
          </span> </div>
    
        <?php } elseif ('open' != $post-> comment_status) {
    
    				// Neither Comments, nor Pings are open ?>
    
        <div class="comment-head"> 
    
          <h2>Comments are closed</h2>
    
          <span class="details">Comments are currently closed on this entry.</span> 
    
        </div>
    
        <?php } ?>
    
        <?php comments_template(); ?>
    
        <?php endwhile; else: ?>
    
        <p>Sorry, no posts matched your criteria.</p>
    
        <?php endif; ?>
    
      </div>
    
    </div>
    
     -->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
  2. Aurora
    Member
    Posted 7 years ago #

    What? No one's ever done this?

  3. jwurster
    Member
    Posted 7 years ago #

    I've used the old Hemingway 0.19 style and had no problems dragging the Recent Posts into the sidebar at the bottom. I guess I'll download the new version and take a look.

Topic Closed

This topic has been closed to new replies.

About this Topic