Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings Pane persists during transition to edit pattern #186

Open
MadtownLems opened this issue Nov 15, 2024 · 0 comments
Open

Settings Pane persists during transition to edit pattern #186

MadtownLems opened this issue Nov 15, 2024 · 0 comments

Comments

@MadtownLems
Copy link

I'm using the filter page-links-to-post-types to remove the settings pane from a variety of post types, and have included wp_block in that.

When you edit a Pattern on its own, there's no Page Links To settings pane. 👍

However, when you use the "Create Pattern" or "Edit Original" toolbar items to switch from editing a Post to editing the Pattern, the settings pane is there. Note that it is NOT the same settings pane as the original post - it is unique to the pattern. If you set a custom URL on the post (mypost.com), and then edit the pattern, the custom URL field will be blank. You can then set something like (mypattern.com) for the Pattern (which does nothing, of course). Switching back and forth between editing the Post and editing the Pattern will have the settings pane switch from mypost.com and mypattern.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant