Whenever I am looking for information on how to handle pages, I always end up finding deprecated functions that link to the correct new functions. But those new functions are only documented in terms of how they work for manipulating posts. I have seen this page:
but it is not very helpful when I am looking for answers like to questions like:
- How should I get the content of a page?
- What exactly is the title of the page; is it 'about' or 'About'? Or something else?
- If I am using get_post how does it know if I am looking for a page or a post? Do pages and posts always have non-conflicting ids?
- Can the WP_Post object also represent a page?
Answers to these questions would be helpful. A link to something that clearly illuminates this topic or an explanation would be even more helpful.