Post Template: Only display "Keep Reading" if there are posts to keep reading

Open Beginner friendly
#164 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

@rvpatel is already working on this.

Since Oct 22, 2026.

  • #168 by @rvpatel — open
  • #14779 by @rvpatel — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
php, wordpress
Domain
frontend

Research direction

Reproduce this on a fresh WordPress install by opening the Hello World post and checking the Keep Reading section at the bottom. Find the post template code that renders this section and check how it handles a site with only one post. Done when the heading is hidden when there are no additional posts to display.

Written by the indexing model from the issue text.

Description

[Type] Bug
What happened?

The Keep Reading section header displays on the post template for new sites with a single entry.

I think it would be preferable to only display the heading if there are additional posts to display.

Where does it happen?

On the site (front end)

Steps to reproduce
  1. Install a fresh version of WordPress Trunk
  2. Visit the Hello World post
  3. Scroll to bottom of screen
  4. Observe Keep Reading heading without any posts offered.
Screenshots or screen recording
Image
WordPress version

7.2-beta1-64677

PHP version

8.5

Ipsum version

Inital Import to WordPress Develop

Gutenberg plugin version

No response

Browser and device

No response

Before you submit
  • I searched the existing issues and this bug hasn't been reported yet.
Dominant language
PHP
Stars
67
Forks
41
Avg merge
4d 16h
Merged PRs (30d)
35

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WordPress/ipsum

All issues in WordPress/ipsum

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.