Hi, i want to display the title of any post/category/etc in the footer of my blog just like in the header (so any page the user is on is displayed just like in my header, but in the footer).
Anyone know the code i could use to do this?
Hi, i want to display the title of any post/category/etc in the footer of my blog just like in the header (so any page the user is on is displayed just like in my header, but in the footer).
Anyone know the code i could use to do this?
Anybody? :(
see if your theme has a footer.php
insert this
<?php wp_title(); ?>
where you would like your title
see if that works for you!
put this code in a div too like <div class="footer_title"> <?php wp_title(); ?> </div>
and in your css make this footer_title style, with this you can position and style the title
<?php wp_title(); ?>
This code doesn't work, is there anything else i can use? Nothing at all shows when i use this code in my footer.
I think i need a code for outside the wordpress loop, something to go back and grab it from the DB.
Is nobody able to help? Please? :(
Codex is your friend:
I have the same issue. <?php wp_title(); ?> will not print anything in my footer. any other suggestions?
This topic has been closed to new replies.