This post is part of a series that provides answers to questions gathered in early February. Thank you to everyone who submitted a question so our knowledge can grow together! Each post will help provide foundational knowledge for future documentation efforts, and future calls for questions in the coming months.
All posts in this series:
- Answers about the FSE project
- Answers about templates
- Answers about themes
- Answers about restricting access & functionality
- Answers about general functionality (this post)
The focus of this post:
This post focuses on general questions related to overall functionality, including how to supply a sidebar on a site and switching between device views.
1) How can I supply a permanent top and bottom menu with the same content for all new created pages?
Please keep in mind that there are a few ways you could do this! With that said, the simplest way at this point would be to do the following:
- Edit the template that your pages will use.
- Using the navigation block, create a menu in both the top and bottom of your page with the content of your choosing.
- Save changes 🙂
Here’s a quick video of how this might work where I simply copy/paste the current menu into the footer. Keep in mind that if you didn’t want to alter the footer itself (aka the footer for your entire site), you could place the menu in another part of the template content.
2) How can I supply a sidebar for all pages to a client?
Similar to the previous question, you can do this by editing the template directly and using the column block to set the sidebars you desire for a client to use. Here’s a quick video showing how this might work:
3) How do I switch between desktop and tablet and mobile views?
Currently, the preview option in the Site Editing experiences allows for you to switch between different views. Here’s a quick video showing how this works:
As you can see, this is still a work in progress with a few open issues opened already to improve the functionality. Inspired by this question, I also opened this issue around device size specific edits.
4) How can I edit comments layout in one go for all comment display blocks everywhere?
This is a great example of what will be unlocked with the Global Styles portion of Full Site Editing. With Global Styles, you’ll be able to alter styles for a single block across your entire site. Right now, an initial version of Global Styles is headed into the WordPress 5.7 release but it’s solely concerned with the theme.json structure for themes and won’t impact users just yet. If you want to take a peek at what’s planned, you can try out the Global Styles system within the current Gutenberg release and/or you can check out this current issue discussing how to improve the Global Styles sidebar to make it more intuitive.
5) How can I add backend only instruction texts for page editors?
You’ll want to use a plugin like WP Help to add specific instructions.