is_page() does not work on BP pages
Why do BP pages not reply with a 1 if you use is_page()?
for example – activate twentytwelve and edit content-page.php and add the following before line 11 (the <article id=…)
<?php echo 'is_page()='.is_page().'<br>'; ?>
on any page BUT a BP page it reruens a 1 and it returns a null for bBP pages.
Are BP ‘pages’ not really pages? Why does the is_page() function not work?
- The topic ‘is_page() does not work on BP pages’ is closed to new replies.