site tagline
-
If this (code in my header) returns the tagline for all of my pages, how do I return a different tagline for a custom page?
// Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description";and later
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘site tagline’ is closed to new replies.