I’m using static page and I would like to check if current page is under frontpage/post page.
For example:
www.example.com/blog – is set to post page in Settings->Reading
How can I check if www.example.com/blog/some_page is under blog- post page? I can’t check it by name becouse it doesn’t have to be named blog.
Leave a Reply
You must be logged in to post a comment.
You can get the ID with
get_option()
.