• Resolved Doraemon

    (@doraemon)


    Hi all, I’ve been working on styling my first post differently from the rest of my post so that I can have kind of a headline look and feel followed by the rest of my posts. This is what I’ve come up with thus far:

    <?php
    if (have_posts()){
    while (have_posts()) : the_post();
    if (!is_single() && $post==$posts[0]){ include('fpost.php'); } else { include('post.php'); }
    endwhile;
    } else { ?>

    <h2 class="center">Not Found</h2>
    <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>

    <?php } ?>
    </div>
    </div>

    For some reason the first posts fails to show. Any suggestions? Thanks in advance,

    Max

Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Missing First Post’ is closed to new replies.