Integration:WPG2 How To Add Titles - Gallery Codex
Personal tools

Integration:WPG2 How To Add Titles

From Gallery Codex

This Page Relates to WPG2 Version 3.0

How To Add Gallery2 Album Titles to your Wordpress Titlebar

  • Edit your wordpress header (usually header.php)
  • Look for a line like:
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title> 
  • In the line, replace
<?php wp_title(); ?> 

with

<?php echo $g2_title; ?>