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.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
To display title of current page you use
the_title() template tag.
Related and slightly more specific functions are: