• Hi Guys,

    I would like to know how to get the name of the page and display it in the html. So I will create the headers automatically from the name of the page.

    I tried this, but it didn’t work:
    <h1> <?php echo get_the_title(ID) ?> </h1>

    Thanks for your help.

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to get the name of the Page’ is closed to new replies.