I’m trying to build a theme from scratch. When I navigate to a page (not a category – a page), then I want to display the name of the current page on the screen. The get_page method (http://codex.wordpress.org/Function_Reference/get_page) seems to require the id of the current page, but I don’t know how to find out that id. Advice?
- The topic ‘Function to find current page name’ is closed to new replies.