WordPress.org

Forums

Make front page both static and include latest posts (5 posts)

  1. amwilson
    Member
    Posted 5 years ago #

    We have the choice between selecting a static page for our front page or the latest posts. Is there a way to have both? I would like to have a static area on the top of the front page to tell something about the website and have the latest posts show up underneath. How can I do this?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    You could add the content manually to your theme's index.php template file before the Loop. Or you could make the same file widget-ready and add content via a Text widget.

  3. Saildude
    Member
    Posted 5 years ago #

    I have put Sticky Posts at the top with information I want a new visitor to see first - not a Page but did what I wanted for my visitors

    (I put a Post for general comments that says "Welcome......", and the next Post has Important links for more information (my site is about boating safety and education) - then Post #3 is the latest Post)

  4. amwilson
    Member
    Posted 5 years ago #

    Adding the content to the index.php does what I want except for one thing. I had a gallery at the top of the page with thumbnails of all the images on the page. With the content in the index.php everything shows up except for that gallery. It uses the code [gallery]. Is there a way I can get that to show up the way it would on a normal static page?

  5. amwilson
    Member
    Posted 5 years ago #

    Actually I just realized adding the content to index.php is not what I want. When I do that it adds the content to all pages and I only want it on the front page. I may have to go with a sticky post but I was hoping to avoid all the clutter that makes on the front page and having unnecessary posts.

Topic Closed

This topic has been closed to new replies.

About this Topic