Skip to content

Post Navigation Link: Does not render previous and next links on the front of the site #54845

@iamtakashi

Description

@iamtakashi

Description

The Post Navigation Link block has stopped rendering the previous and next links. It works in the site editor, but the links no longer appear on the front of the site.

I tested this with TT3 but I can reproduce it in any theme. Am I missing something obvious?

I didn't see a report about this, but I'm sorry if this has been reported somewhere.

Step-by-step reproduction instructions

  1. Go to the site editor and open a single post template.
  2. Add a post navigation link, the previous and the next links.
  3. Open the site and see the missing post navigation links.

Screenshots, screen recording, code snippet

Editor Front of the site
localhost local_wp-admin_site-editor php (2) localhost local_blue-screen-of-joy_

They look empty in the inspector:
Screenshot 2023-09-26 at 23 25 48

Environment info

WP 6.3.1
Gutenberg Trunk

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Post Navigation LinkAffects the Post Navigation Link Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions