Did you even do a simple search for this? I searched for “change title of page” and came up with several pages right away that answered the question. Next time, search for your own answer first. It saves everyone lots of time. Here, this should get you going:
http://wordpress.org/support/topic/79423?replies=3
I did search, but I did not find anything that did what I wanted.
And how did that link I provided help you out?
Well, as I am still unable to modify my headers as I want: not much.
<title><?php bloginfo(‘name’); ?><?php if ( is_category() ) : ?> TEST<?php endif; ?><?php if ( in_category() ) : ?> TEST<?php endif; ?> <?php if ( is_single() ) : ?> Post name<?php endif; ?></title>
But this does not work very well. :/
😛 Because I cannot figure out how to do it properly? That is why I asked for help in the first place…
This is how far I have gotten this far. But I still do not understand how I can get hold of the post name, category name, etc…
<?php if ( is_category() ) : ?><?php bloginfo(‘name’); ?> Category name<?php endif; ?>
<?php if ( is_year() ) : ?>Year in <?php bloginfo(‘name’); ?> Category name<?php endif; ?>
<?php if ( is_month() ) : ?>Year-month in <?php bloginfo(‘name’); ?> Category name<?php endif; ?>
<?php if ( is_single() ) : ?>Post name at <?php bloginfo(‘name’); ?> Category name<?php endif; ?>
OK; how do I get the current category only? Without the list-thing…
Try the code I linked to and see what happens.