-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Inserting a template/reusable block into every page after they have been created. #12518
Comments
I can't think of any great UX for such bulk operations off the top of my head. It's not something that has been previously possible in WordPress core and I can't find a plugin that does that either. |
I am thinking we can just put the case (this issue) into the phase 2 ideas bag. As it can perhaps create some inspiration along the way. Today one would likely create a widget area above the footer. Install a conditionals widget plugin to where the widget should show up. In phase 2. One could add a global block. Add conditionals to where the specific global block is to be seen. Then add the content. The block could then be locked in place, not able to be moved, except by editing the global blocks position and content. The global block and content would then automatically be added to all the pages/posts defined through the conditionals. EDIT: Reusable blocks = save 1 or a few blocks into a reusable blocks area. |
Interesting concept! I wonder if something like a global block would be a block-per-block setting (some blocks have it, some don't?) and only exist outside of the |
Hey Mark " I wonder if something like a global block would be a block-per-block setting (some blocks have it, some don't?)" Yeah. Options could be changed per page/post block settings. If one begins to change the content then one will need to have a warning message come up that says something like: "and only exist outside of the post_content? This would allow the user to position it on the site like between the post_content and the footer. Or if it existed inside the post_content, there'd need to be a way to designate where in each post it would live. Does that sound right?" I am just thinking UI not the technical aspect of it. The scenario: User opens Global blocks and drags out a sidebar area. Places it into the layout (I have not thought about how that would work for instance having the sidebar take up the full left side of the layout or part of the left side). Then adds the blocks user wants into it. Selects the Global block. Goes to the settings and selects through the conditionals where to show the sidebar. post_content = Perhaps everything except global blocks (sidebar widget areas). btw |
It seems like this falls into the template work planned for phase 2 at some point #13489 I can see a template composed of smaller templates (header/footer/sidebar...) where people could go edit these particular sub templates and see the change everywhere on their website. I'm going to close this issue at the moment as there's nothing really actionable and I think it served its purpose as a way to inspire and think about these future interactions. Details can be flushed out later once we reach that stage. |
Phase 2.
The case is this:
I have made lots of pages, and then suddenly I notice that I forgot to add a message at the bottom of each page (before the footer). How would I go about adding the additional block into each page after I have already created them? What about selecting which page/post to add the specific reusable block/template block into?
Today I would have to manually go into each page/post and add the missing message/image etc.
The text was updated successfully, but these errors were encountered: