• Resolved jack19992

    (@jack19992)


    Hi,

    So I’m trying to revamp the way in which my front page content reads. I used to love the thumbnail/featured image, but think it disinterests new viewers and discourages them from checking out the content.

    I want my posts to flow more to the tune of Twenty-Twelve’s format, but have no idea how to do this. My forte lies in graphics, not .php and CSS. In short, I’d love for there to be a…

    TITLE
    IMAGE
    CONTENT
    READ MORE

    I’ve tried copy and pasting code, as well as tweaking the stuff that’s already there, but to no avail. I’m running a heavily edited version of Fresh & Clean, and my website is 8bitfoundation.com. If anyone has a good way to go about this, or code advice, I’m very open to suggestion. All help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jack19992

    (@jack19992)

    I forgot to add the current .php for Fresh & Clean’s ”post entry.” Here it is:

    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="postcontent">
    <?php if ( has_post_thumbnail() ) {  ?>
    <div class="thumbnail-wrap">
    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('post-image'); ?></a>
    </div><!-- END thumbnail-wrap -->
    <?php } ?>
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php the_excerpt(); ?>
    </div><!-- END Post Content -->
    <div id="byline">
    					Posted by <?php the_author() ?> On <?php the_time('F jS, Y') ?> / <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
    				</div><!-- /Post Byline -->
    </div><!-- END Post -->
    <?php endwhile; ?>

    This may be a silly question but, if you want it to look like TwentyTwelve, why not just switch to that theme?

    If you want to change the order of how the elements are currently displaying, then you can play with the code that you have – for example, this ditches the thumbnail and displays the entire post (or it should – I didn’t test it so please be careful before using it – ie have a backup on hand and be able to FTP into your site to restore it if it goes wonky):

    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="postcontent">
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php the_content(); ?>
    </div><!-- END Post Content -->
    <div id="byline">
    					Posted by <?php the_author() ?> On <?php the_time('F jS, Y') ?> / <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
    				</div><!-- /Post Byline -->
    </div><!-- END Post -->
    <?php endwhile; ?>

    Thread Starter jack19992

    (@jack19992)

    That’s not a silly question at all, but the answer is. I thought about doing that, but realized I was only doing so for the way in which the posts [elements] read. Also, I like some of the features of Fresh & Clean (i.e. no 1px outline on images, stuff like that).

    But, thank you for the code! Worked like a charm, so I’ll be implementing that soon. That, or switching to a new theme. I’m in transition, so it’s difficult to decide. Thanks for all of your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Edit Post Entry [read: Post Entry Overhaul]’ is closed to new replies.