WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: Change the title in the header (6 posts)

  1. Thomas
    Member
    Posted 4 years ago #

    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>

  2. vtxyzzy
    Member
    Posted 4 years ago #

    Very difficult to help without more info. What theme are you using? Can you post a link to the site?

  3. Thomas
    Member
    Posted 4 years ago #

    I'm using K2. The gallery can be found @ http://www.liajnad.se/photos/43

  4. vtxyzzy
    Member
    Posted 4 years ago #

    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.

  5. Thomas
    Member
    Posted 4 years ago #

    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.

  6. vtxyzzy
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic