Add post listing at bottom of home page

Support Area Forums Live Add post listing at bottom of home page

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://
  • Author
    Posts
  • #21505
    Avatar photoScott Wierschem
    Participant

    I need to add a list of post titles and summaries below the widgets on bottom of the home page. Kind of like what appears if a static home page isn’t selected.

    Is that possible?

    Thanks for any guidance you can give!

    #21514
    Bill Robbins
    Moderator

    Scott,

    That’s an excellent question. The simplest solution would be to use a plugin like Recent Post Extended to add in a customized list of your latest posts to one of the three widget areas at the bottom of the home page.

    Another option would be to do a bit of editing and add in a list of those posts below the widget area. Here’s how to do that if you’d rather go that route:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose page-home.php and find this line near the bottom:
      
      </div><!-- #home -->
      
    3. Right above that, add in this:


      (Copy that code directly from the support site instead of the notification email.)

    4. This line at the bottom of that new code block will add a button that you can use to direct users to the rest of your blog:

      
      <p><a class="button" href="http://yoursite.com/blog">More Posts</a></p>
      

      What I would do is go to the second page of your blog posts and copy the URL to that second page. Then replace the http://yoursite.com/blog with the URL to your second blog page. That way users can click that button and skip over the posts that they have already seen and go directly to ones they haven’t.

    5. Save your changes.

    I believe that will give you a list of posts below the widget area there. If you run into any questions or trouble, let me know.

    Thanks,
    Bill

    #21515
    Avatar photoScott Wierschem
    Participant

    Thanks, Bill!

    Would it be good to create a child theme with these changes so they aren’t lost in any updates?

    #21516
    Bill Robbins
    Moderator

    Scott,

    That would be an excellent plan to make sure you keep the customization around for as long as you want.

    Bill

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add post listing at bottom of home page’ is closed to new replies.