2013-04-14, 16:24:53
@whiteh0rs3
A possible way to check if the current page is private or not:
A possible way to check if the current page is private or not:
PHP Code:
<?php if (getPageField(get_page_slug(0),'private') == 'Y'): ?>
... this page is <strong>private</strong> ...
<?php else: ?>
... this page is not private ...
<?php endif; ?>