Forums

[resolved] Falbum page titles (2 posts)

  1. swashbuckler
    Member
    Posted 2 years ago #

    I've just upgraded WordPress to 2.8.2 pretty much without problems, so thanks for that first of all.

    One little thing is that in the plugin Falbum the header/page title is not complete any more. The name of my site still comes up, but after the >> it now tells me 'Page not found'. Normally it would have album information there.

    Looked through the code, settings, forums, wiki, etc, but could not find anything to fix it. So thought I'd ask here in the hope someone has come across this issue or has any ideas that can help me out.

  2. NativePaul
    Member
    Posted 2 years ago #

    Hi Swashbuckler.

    I found the solution in the wiki page.

    I opened my theme's header.php file and swapped the <title> line with the following code.

    <?php global $falbum; ?>
    <?php if ($falbum->is_album_page()) { ?>
    	  <title><?php echo $falbum->get_page_title(); ?></title>
      <?php } else { ?>
    
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
      <?php } ?>

    That does the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic