Viewing 1 replies (of 1 total)
  • Thread Starter openbayou

    (@openbayou)

    UPDATE: Got it to work!

    `<?php if ( 1 > get_query_var( ‘paged’ ) ) { ?>
    <?php if ( is_first_post() ) { ?>
    first! <br />
    <?php the_title();?>
    <?php the_excerpt();?>
    <?php } else { ?>
    1 – <?php the_title();?>
    <?php the_excerpt();?>
    <?php } ?>
    <?php } else { ?>
    2 – <?php the_title(); ?>
    <?php the_excerpt();?>
    <?php } ?>`

    You can see it in action – http://openbayou.staging.wpengine.com

    Next question I have (same topic) is can this be cleaned up to make it simply as the code underneath is_first_page are duplicates

    `<?php } else { ?>
    1 – <?php the_title();?>
    <?php the_excerpt();?>
    <?php } ?>
    <?php } else { ?>
    2 – <?php the_title(); ?>
    <?php the_excerpt();?>
    <?php } ?> `

    Thank you so much for the help!

Viewing 1 replies (of 1 total)

The topic ‘no additional posts to load’ is closed to new replies.