*
* @package Cryout Creations
* @subpackage mantra
* @since mantra 0.5
*/
?>
>
tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// 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";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Page %s', 'mantra' ), max( $paged, $page ) );
?>
$value) {
${"$key"} = $value ;
}
$totalwidth= $mantra_sidewidth+$mantra_sidebar+50;
/* Always have wp_head() just before the closing
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to such
* as styles, scripts, and meta tags.
*/
mantra_header();
wp_head(); ?>
>
^
< id="site-title">
>
ID ) && $mantra_fheader == "Enable" &&
( $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
$image[1] >= HEADER_IMAGE_WIDTH ) :
// Houston, we have a new header image!
echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
?>