nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

page sidebar default #80

Closed deltaforce closed 5 years ago

deltaforce commented 5 years ago

When creating a KB article, is there any way to make it default to NO SIDEBAR ?

mayeenulislam commented 5 years ago

@deltaforce Yes, indeed. But that's the task in the Theme territory.

In your theme, make a copy of the single.php and name it single-nanodoc.php:

mytheme/
   |--→ single.php
   |--→ single-nanodoc.php

Open single-nanodoc.php in a code editor, and remove or comment-out the line:

<?php // get_sidebar(); ?>

If you are working on a third-party theme, make a child theme of it to not lose the changes when upgrading the theme later, and do the above-mentioned changes in the child theme.

Good luck.


Would love to have a ⭐️⭐️⭐️⭐️⭐️ (5-star) Review from you if you love using NanoSupport.