WordPress How to Tell if a Page is Loaded

If you would like to do something special on a page with code and know if it’s not a post, you can use a conditional test to find out if a page is loaded: <?php if (!is_page()) {do this} ?>

Posted in Wordpress Tips. No Comments »