Hi,
I've written a photoalbum for my blog.
However the title in the header is always the "blogname" and I cannot figure out how to change it as it the wp_header that adds it.
I've looked at the filter for the_title but it only changes the menu...
Is there an easy way to manipulate the title in the header so I can display the album name instead?
To clarify I want to change the text in the <TITLE>....</TITLE>
Very difficult to help without more info. What theme are you using? Can you post a link to the site?
I'm using K2. The gallery can be found @ http://www.liajnad.se/photos/43
OK. I installed the K2 theme on my test site. I can change the title in Settings->General->Blog Title. If that isn't what you want, I don't think I can help further. Sorry.
No Sorry but thanks anyway.
I Need a way to be able to set the title from within the plugin depending on url.
eg.
/photos/43
/photos/44
where /photo will trigger a plugin which will display an album.
Totally misunderstood what you wanted. Can you tell me a little more?
Where will the title come from for /photos/43? Are you going to hard-code it, or look it up somewhere? How many different url's will there be?
Can you set up a page for each of your albums and create a link to that, or do you really need a plugin to display an album?