Answers for "how to change the title of a page in wordpress"

PHP
2

wordpress echo the page title

<?php echo get_the_title(post->$ID); ?>
Posted by: Guest on November-30-2020
1

how to add title to wordpress php

// For website name in <title> tag
<?php wp_title(); ?>
  
// For the Post title within the loop
<?php the_title(); ?>
Posted by: Guest on November-23-2019

Code answers related to "how to change the title of a page in wordpress"

Browse Popular Code Answers by Language