• Resolved christian_d

    (@christian_d)


    I’m working on this page:

    https://jennifer.coffeeismagic.com/

    And I need a block of text to always appear above the latest post. How is this done?

    Sorry for the elementary question…

    Also, since I have your attention: How do I limit the number of posts that appear? I want everything past the latest 3 to just be in the archives.

    Thank you so much for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look for

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    in index.php and put your html and text above it, but you may need to CSS style it to make it look right.

    In index.php, you can modify the Loop to this:

    <?php query_posts('showposts=3'); ?><?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    or use the plugin Different Posts Per Page.

    Thread Starter christian_d

    (@christian_d)

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘having text always appear above the loop (I think I phrased that right…)’ is closed to new replies.