“Posts Page” reference help
-
Hello everyone.
I’ve set my files up so that my home page is static and my posts page is entitled “Events Calendar”.
In header.php of my template, I am able to reference the Events Calendar page by way of “$wp_query->is_posts_page”, but in page.php not so much.
No amount of
- is_page, the_title, get_the_title, is_paged, or $wp_query->is_posts_page
will work. I’ve tried using the slug, the actual page title, etc.
It must be something simple. Any help very much appreciated…
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘“Posts Page” reference help’ is closed to new replies.