WordPress get_the_title()

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


This function returns the title of the current post or the designated post.


  • get_the_title( $post )


$post(int) (optional) Post ID or post object. Default is the the current post's id.


If you plan to get the title of a post or page using a post loop, it is suggested to use the_title() instead.

Got any WordPress Question?