Skip to content

Related Posts Block: Add the ability to include a headline within the block itself #27108

Closed

Description

@coder-karen

Impacted plugin

Jetpack

What

The Related Posts block doesn't appear to allow for a headline to be added above the suggested related posts, within the block itself. If the headline is added outside the block, then if the related posts do not render a post can look a little odd with just the 'Related Posts' headline. If Related Posts are used without the block, a headline can be included and can also be customized in the customizer.

Internal conversation: p1666834512710569-slack-CBG1CP4EN

How

This is how the related posts look on my test site which doesn't use the block. Ideally the block output (in terms of the headline) could look similar:

Screen Shot 2022-10-27 at 10 48 34 am

When testing the block out, I tried with Twenty Twenty, Twenty Twenty One and Two themes. Also the latest Jetpack beta, and 10.9 to be sure there wasn't a regression. There was one main Related Posts regression I could see:

Activity

  1. added
    Enhancement
    [Plugin] Jetpack
    on Oct 27, 2022
  2. a8ck3n commented on May 30, 2023

    @a8ck3n
    Contributor

    This is addressed in #30897.

    It matches the basic behaviour that exists in the Customizer in that it allows you to enable a headline and provide a string on a per-block basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement[Block] Related Posts[Plugin] Jetpack

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions