imagineutopia
El Presidente
Just Getting Started
Member Likes (0)
I have a site and the way the theme is going, the page titles aren't displaying.
I'd like them to show up above the content in their own div.
do you know where I should look to find the kind of php code I need to put in there.
I'm sure it'd be something like <?php the_pageTitle(); ?>
but I don't know.
Thanks,
John
Responses (4)
Member (joined April 2011) Likes (1)Liked by: 
<?php the_title(); ?> is actually a way to call the title... least if I recall correctly.
Ive used things like this before:
<h1 class="title"><?php the_title(); ?></h1>Inactive (joined February 2012) Likes (1)Liked by: 
Hey guys,
the function is the_title() itself as @LCDist suggested: http://codex.wordpress.org/Function_Reference/the_title
Does your theme have single.php? The best would be look for the_title() in single.pho and model like that on page.php. If its not single.php, then you would have it in index.php I think.
Good luck!
Member (joined March 2011) Likes (0)
awesome. that worked. thanks guys.
Inactive (joined February 2012) Likes (0)
Glad to hear that. awesome!
WordPress Questions?
We've got answers!
Find out more »