• I am very new to all this, but I’ve got this project that needs to get done and I’m just transitioning to CSS from tables and php is beyond foreign to me.

    I need to create a very basic WP theme, with 5 rows of posts, 3 posts in each row, that are in chronological order horizontally, left to right. I’ve done the CSS, I found a *similar* (I’m using that term loosely) template that I tried to modify the PHP files to fit my needs.

    I don’t need date, time, comments or any extras on my posts. Just the title and excerpt. I did everything I thought I was supposed to do, uploaded it, tested it, and it looks like crap.

    I’m so frustrated because I’m in a time crunch and I’ve been up until 2am for the past 4 nights trying to figure this out. I know it can’t be this hard.

    If someone would be so kind, please take a look at the WP site and let me know what I’m doing wrong. I will be forever in your debt.

    The site is currently at: .

    Thank you, thank you, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Unfortunately you didn’t leave a usable url, so this is pure guesswork but…

    have you thought about outputting the posts in an unordered list with the list items floated left?

    <?php if(have_posts()) : ?>
    <ul>
    <?php while(have_posts()) : the_post(); ?>
    <li <?php post_class();?> id="post-<?php the_ID();?>">
    <h2 class="post-title"><a href="<?php the_permalink();?>" title="<?php the_title();?> - permanent link"><?php the_title();?></a></h2>
    <div class="postcontent"><?php the_excerpt();?></div>
    </li>
    <?php endwhile; ?>
    </ul>
    <?php endif; ?>

    Then in the CSS, start with:

    li.post {
    width:33%;
    float:left;
    }

    Thread Starter sparklogix

    (@mybenson)

    Sorry about the URL, it was there when I hit post.

    https://www.bensonreport.com/wordpress/

    Thread Starter sparklogix

    (@mybenson)

    Just wondering if someone experienced can take a look. I’m sure I screwed up the php but don’t know how or where.

    You can see how the site looks on WP (https://www.bensonreport.com/wordpress/ and how it should look: https://www.bensonreport.com/indextest.html

    Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Theme Problems – About to rip my hair out!!!’ is closed to new replies.