-
Notifications
You must be signed in to change notification settings - Fork 93
Templating
Tareq Hasan edited this page Oct 27, 2016
·
1 revision
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.