⌘K

Templating

Last updated

AI-Powered Summary

Click to generate a summary of this documentation using AI

The plugin comes with few templates on its own for documentation. Templating system of the plugin enables you to override the default templates from within your theme.

The templates can be found on the templates directory of the plugin (/wedocs/templates), which includes:

  • content-feedback.php
  • docs-sidebar.php
  • shortcode.php
  • single-docs.php

To override those templates, create a folder named wedocs in your current themes folder and you can override the files from the templates of weDocs.

For example, copy /wedocs/templates/single-docs.php to /your-theme/wedocs/single-docs.php and make the required changes. You’ll see the changes in the frontend. This way you can override the plugin without modifying the plugin core, which might be replaced upon updates.

Written By

Updated on October 17, 2020

Still stuck? How can we help? Get Help

Table of Contents

No headings found. The table of contents will be generated automatically when you add headings to your content.

Font Size:(Default)