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(); ?>

Leave a Comment