Hello All,
I am loving the Zenpage functionality, but only intend to make use of pages, and not news or archives. I am using the zenpage default theme. Is it possible to remove the "News" and "Archive" links in the sidebar but keep the "Pages" heading?
Many thanks in advance
Comments
I don't see news as an option under Users > Rights...? I am using Zenpage for static pages, so I can't turn that portion off. Is there a setting somewhere else?
New at this, I am not afraid to edit the page, but if there was a way to switch this off and on, I'd prefer it.
Rather than removing, this "if(0 &&" seems to work for any/all of the various sidebar.php sections:
if (0 && getOption('zp_plugin_zenpage')) { ?>
<div class="menu">
<h3><?php echo gettext("News articles"); ?></h3>
<?php
printAllNewsCategories(gettext("All news"),TRUE,"","menu-active",true,"submenu","menu-active");
?>
</div>
<?php } ?>
...disables, but leaves sidebar.php intact.
The theme (all themes actually is meant as a starting point to modify to your needs.
Also, if you are loggedin with the needed rights you see unpublished and protected things by default as well.