Sections are the headings of your docs menu. Pages go inside sections. A page can sit in more than one section, and sections can sit inside other sections.
Create a section
Either:
- Go to Docsway, Structure, Assign pages and use the New section box on the right: type a name, choose where it goes under Inside, press Create section.
- Or go to Docsway, Sections, the standard WordPress screen, where you can also rename, describe, nest and delete sections.
A section with no published pages in it is hidden on the site, so you can prepare sections before their pages are ready.
Add pages to sections
There are four ways, so use whichever suits the moment.
Several pages at once: go to Docsway, Structure, Assign pages.
- Use the filters at the top: Not in docs yet, Already in docs or All, and the Filter by title box.
- Tick the pages.
- Choose a section and press Add to section.
Move to section replaces a page's current sections with the one you choose. Remove from docs takes the page out of the menu and docs search without deleting it.
While editing a page: in the block editor, open the Doc sections panel in the sidebar and tick the sections.
From the Pages list: use Quick Edit on one page, or tick several pages and choose Bulk actions, Edit to add them to a section in one go.
Documents (Docsway Pro): PDF and Word files join sections from the Media Library. See Search inside PDF and Word files.
Make a section heading clickable
By default a section heading in the menu only opens and closes its list. To make it a link too:
- Go to Docsway, Structure, Section links.
- Next to the section, choose the overview page it should open, then press Save.
That page is then shown as the section heading instead of as an item inside the list. Only pages already in the section are offered.
Drafts and private pages
Only published pages appear on the site. Drafts and private pages in a section stay hidden until you publish them, and so does a section that only holds drafts.
Using posts or custom post types
Go to Docsway, Settings, Content and tick the content types that hold docs. Their items then appear on the Assign pages screen and get the Doc sections panel in the editor.