WordPress.org

Forums

Today Page (7 posts)

  1. futb0l
    Member
    Posted 10 years ago #

    Is there a way to make it so that the posts on the front page is only today's post?

  2. Avenir
    Member
    Posted 10 years ago #

    Go to Options>Reading in the admin panel and change the number of recent posts displayed to 1. Caveat: This will make it so that all of your post listings (all archives, category listings, etc.) will only display one post. I don't know how to make only the front page display one post. Someone else will have to help you with that.

  3. Kafkaesqui

    Posted 10 years ago #

    http://wordpress.org/support/topic.php?id=24031#post-136906

    Following Avenir's suggestion (and setting to 1 post or 1 day) displays the last post or last day's worth of posts, but there's no way to diplay posts only from today (without some coding, that is).

  4. futb0l
    Member
    Posted 10 years ago #

    Anyways, I set my reading option to 1 day.
    And then used the Custom Posts Per Page. That allows me to display many posts on the archive pages, BUT its not consistent maybe on one page there's 5 on the another there's 6, and so on. This screws up the paging - even though there are no posts in the previous page, it still displays a link to the previous page.

    Any ideas?

  5. futb0l
    Member
    Posted 10 years ago #

    No one?

  6. Root
    Member
    Posted 10 years ago #

    This is going to need a php hack I would think. What is your thinking ? If there is no post today what happens ?

  7. mcmike
    Member
    Posted 10 years ago #

    yup you would need to hack into "The Loop" to alter it so it only displays 1 link on the main-page...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.