• Resolved Fantail_

    (@fantail_)


    I would like to add a small static paragraph below the menu but above the most current post. And so I would like it to show up on the index / home page only always above the latest post. It dose not seem like the index file is the place to do this. Can someone point out where to edit this in correctly?
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Fantail_

    (@fantail_)

    I have tried an “Announcment” type plugin. Where there is an option to place the paragraph – announcment at the top of the page. But then it winds up at the top of all pages. I don’t want that.
    So, anyway to do this or someone know a plugin that has more specific placement?

    Moderator keesiemeijer

    (@keesiemeijer)

    You can do it on your theme’s index.php just before the loop:

    <p>this is a small static paragraph</p>
    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <!-- rest of the loop -->

    Thread Starter Fantail_

    (@fantail_)

    That did the trick! Right atop the main page only where I needed it.
    Much appriciated, thank you keesiemeijer!

    Moderator keesiemeijer

    (@keesiemeijer)

    Glad to have helped, can you make this topic resolved please. [edit] Ha,I see you already did that!

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

The topic ‘Static paragraph under the menu?’ is closed to new replies.