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

Migrate classic sidebars and widgets to block for themers #216

Open
bph opened this issue Feb 1, 2024 Discussed in #206 · 0 comments
Open

Migrate classic sidebars and widgets to block for themers #216

bph opened this issue Feb 1, 2024 Discussed in #206 · 0 comments
Assignees

Comments

@bph
Copy link
Collaborator

bph commented Feb 1, 2024

Discussed in #206

Originally posted by justintadlock January 12, 2024
We could use a good general guide that covers sidebars and widgets. Widgets are a feature that both themes and plugins created during the classic era. However, blocks are more plugin territory. My focus for this article would be on looking at this from a themer's viewpoint:

  • Dynamic sidebars (i.e., widget areas) should be replaced with template parts, patterns, etc. No more registration; anything can go anywhere in block templates!
  • Moving a custom widget to a block. I'm thinking of this more in broad strokes (every widget has different options and different uses).

This discussion was branched off an earlier one that is specific to plugins and more broad in scope: #42

@bph bph added the flow: approved can move forward label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants