views:

46

answers:

2

I want to print the name of the page I am on in Wordpress. How do I do this?

+4  A: 

Just put this in your page template:

<?php the_title(); ?>
Adam Dempsey
Thanks, so easy :)
GreenRails
It is when you know how :)There is a lot of theme documention available at http://codex.wordpress.org/Template_Tags
Adam Dempsey
A: 

in addition, think you should add the "echo" so it would output or print the title. so goes like:

acupuncture_boynton
By default it is displayed and not returned, if the third parameter is set to false the value is returned and not displayed.Source: http://codex.wordpress.org/Template_Tags/the_title
Adam Dempsey