WordPress Echo post title with H tag

It’s easy to echo the WordPress title with an H Heading tag/level using the following snippet:-

<?php the_title( '<h3>', '</h3>' ); ?>

Our example shows the h3 heading tag as WordPress themes typically output post titles with h1 or h2 tags

About the Author
wordpress echo post title with h tag WordPress Echo post title with H tag 0da77002febbfe28d15144a57bbcc2c9 s 180 d mm r g


A highly experienced Web Designer / Web Developer (Webflow, WordPress, Weebly & Custom), Front-end / Back-end Developer & New Media Specialist, with extensive knowledge of a wide spectrum of technologies in the Development and Creative Industries, built up over a number of years.