Skip to content

Header and footer patterns not working as expected in 6.6 #64166

Open
@westnz

Description

Description

Header and footer patterns in WordPress are not functioning as expected. When you select a header or footer on a Page and select Replace, you can't replace it with a pattern - only existing template parts show up. Additionally, when you select a header or footer within a template, you can Replace it by choosing from patterns in the Settings sidebar. However, when you click on the three vertical dots in the List View and select "Replace," only existing template parts are displayed—patterns are not shown as expected, contrary to how we have taught users.

In both cases, Patterns should appear below Existing template parts.

Step-by-step reproduction instructions

  1. Go to the Site Editor
  2. Choose a header or footer within a page or template.
  3. Click on the three vertical dots.
  4. Select 'Replace'
  5. You will only see existing template parts - no patterns

Screenshots, screen recording, code snippet

Screen.Recording.2024-08-01.at.9.55.03.PM.mov

Environment info

  • I am using WordPress 6.6.1
  • I am using Chrome

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

Activity

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

Metadata

Assignees

No one assigned

    Labels

    [Block] Template PartAffects the Template Parts Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions