Aneris Docsway Docs

Blocks and shortcodes

Updated 1 min read

With the Docsway docs layout you rarely need these. They are for placing Docsway pieces yourself: with My theme's layout, in a site header, a widget area or any page builder.

Each piece is available three ways: a block, a Divi module and a shortcode. All three show exactly the same thing.

Block Divi module Shortcode Shows
Docs Menu Docsway Docs Menu Sidebar menu built from your sections
Docs Search Docsway Docs Search Search box with instant results
Docs Search Home Docsway Search Home

Docsway documentation

Step-by-step guides for setting up and running your docs with Docsway.

Heading, large search box, quick searches, topic cards and full results
Docs: On This Page Docsway On This Page Contents list for the current page
Docs: Previous / Next Docsway Previous / Next Links to the previous and next page in menu order
Docs: Breadcrumbs Docsway Breadcrumbs Where the page sits in your docs

Type at least two characters to search the documentation.

Full results list, for a separate results page

Shortcode options

Shortcode Option Example
title: a heading above the menu
placeholder: hint text in the box
button="no": hide the Search button
title: heading above the list
min: headings needed before it shows

Docsway documentation

Step-by-step guides for setting up and running your docs with Docsway.

title, intro, topics_title: override the texts from Settings

"How

Step-by-step guides for setting up and running your docs with Docsway.

Blocks and modules have the same options in their settings panels.

Avoid doubles

Docsway can add the contents list, previous and next links and breadcrumbs to every doc page automatically. If you place them yourself, untick them in Docsway, Settings, Navigation, Add to every doc page.

Keyboard shortcut

On doc pages, and any page with a Docs Search box, Ctrl+K (Cmd+K on a Mac) or the / key opens a search window. Turn it off in Docsway, Settings, Search, Extras.

Was this page helpful?