开发者_开发百科I want to print the name of the page I am on in Wordpress. How do I do this?
Just put this in your page template:
<?php the_title(); ?>
in addition, think you should add the "echo" so it would output or print the title. so goes like:
<?php echo the_title(); ?>
精彩评论