Post Related

Displays a grid of related posts from the same categories as the current post. It is shown in the block inserter as Post Related and registered as canvas-core/post-related.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Post Related settings in the block editor sidebar

Settings

Each setting is named exactly as the block editor names it, followed by what it does and what it starts as. Where a setting carries a Shown when line, it stays hidden until that condition is met, which is the usual reason a setting looks missing from the sidebar:

Settings

  • Post CountDefault0

    0 follows Theme Options → Blog → Single → Related Posts Count.

  • Cards AcrossDefault0

    Use 1 in a narrow column (the both-sidebars layout) so cards stack full width instead of being squeezed. 0 follows Theme Options → Blog → Single → Related Posts Columns.

  • Card LayoutDefaultThumbnail beside the title

    Stacked cards put a wide image over the title and read as a row of article previews.

    ChoicesThumbnail beside the titleImage above the title

  • Card AlignmentDefaulttop

    Aligns each card's thumbnail against its text column. Wider cards read better centred.

    Shown when Card Layout is "Thumbnail beside the title"

  • When Nothing Is RelatedDefaultEmpty

    A record filed under a section of its own would otherwise leave an empty band where the recommendations belong.

    ChoicesRender nothing (empty)Show the newest records

  • Image SizeDefaultEmpty

    Which registered size each card requests. The stacked layout defaults to the Article Card crop, so a row of cards keeps one height whatever shape each record's own featured image is.

    ChoicesLayout default (empty)Article Card (landscape crop)ThumbnailMediumMedium LargeLargeFull

  • Meta ItemsDefaultEmpty

    Comma-separated list under each stacked card. Supported: date, reading_time, comments, category. Empty uses the layout default.

    Shown when Card Layout is "Image above the title"

  • Date FormatDefaultEmpty

    PHP date format for the card date. Empty uses the site setting.

    Shown when Card Layout is "Image above the title"

  • HeadingDefaultRecommended for you

    Title above the related grid. Leave empty to fall back to the default.

  • Show Featured ImageDefaultOn

    Not part of the current layout: the image always shows when the related post has one.

  • Show Date & AuthorDefaultOn

    Not part of the current layout: has no visible effect.

  • Record ClassesDefaultOff

    Marks every related card with the post it shows, its type, its status, its format and the categories and tags it carries. Turn it on so a stylesheet or a plugin can single out one card, one format or one category.

Every Canvas block also carries the Animation, Scroll Effects and Advanced panels, which are described in Controls every Canvas block has.

Other blocks in Posts: Blog Archive Loop, Blog Loop, Blog Single Post, Post Archive Index, Post Author, Post Comments.

Was this page helpful?