Template Tags / postSelected()
Description
Returns true if a post is being viewed. Useful in layouts to switch content visibility or control menus and the like.
Usage
<?php if ( postSelected() ) { // Do something... } ?>
Returns true if a post is being viewed. Useful in layouts to switch content visibility or control menus and the like.
<?php if ( postSelected() ) { // Do something... } ?>