Answers for "how to get the current post title in wp"

PHP
2

wordpress echo the page title

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

get post title by post id wordpress

get_post( $post_id )->post_title
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language