This the url format:
How do I get the page name? what is the wordpress function/method for this?
bloginfo('name') return the site name. I want the function that returns (return not echo) the name of the current page.
To display title of current page you use
Related and slightly more specific functions are: