Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the banca domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/newfloeq/public_html/wp-includes/functions.php on line 6170
Creating docs posts - New Flower General Trading

Creating docs posts

Estimated reading: 1 minute 196 views

Create new doc post entries in _docs folder, similar to creating posts, but with following front matter settings:

---
title: Accordion
container: wide-container
category: element
right_sidebar: true
search: true
banner: true
tags: [content,element]
custom_js:
- assets/prism/prism.js #extra css files here
custom_css:
- assets/prism/prism.css #extra css files here
---

Sidebar navigation on docs post can edited in _data/navigation_docs.yml:

- title: Content
  img: img/side-nav/document.png
  docs:
    - doc-content-image # Doc file name from _docs folder
    - doc-content-video
    - doc-content-tooltip

Leave a Comment

Share this Doc

Creating docs posts

Or copy link

CONTENTS