You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parts assigned to their own area do not appear in the site editor library. #52101
Areas added with filter hooks do not appear in the site editor library. Template parts assigned to that area do not appear in the list even if they are created.
I may need to open a new issue for this, however after this has been added, I'm wondering why can't the template part just display under its own custom section, rather than having them all in General?
If I use the default_wp_template_part_areas filter to defined my own custom area, this should reflect in the FSE UI next to General, Header, and Footer.
And a side question, are our only options for icons layout, header, and footer? Is there no support for custom icons or passing an SVG value?
Activity
bd-viget commentedon Oct 25, 2023
I may need to open a new issue for this, however after this has been added, I'm wondering why can't the template part just display under its own custom section, rather than having them all in
General?If I use the
default_wp_template_part_areasfilter to defined my own custom area, this should reflect in the FSE UI next to General, Header, and Footer.And a side question, are our only options for icons
layout,header, andfooter? Is there no support for custom icons or passing an SVG value?bd-viget commentedon Oct 25, 2023
Another issue here is the value passed for
area_tagis not honored. Using the following as an example:In my use case, I'm using
render_block_core_template_partand the tag used in the output is<div>