Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Title site whit logo image #12

Open
mbades opened this issue Sep 16, 2013 · 0 comments
Open

Change Title site whit logo image #12

mbades opened this issue Sep 16, 2013 · 0 comments

Comments

@mbades
Copy link

mbades commented Sep 16, 2013

Hi, how i change the title of site whit logo-image:

<title> 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', 'twentyten' ), max( $paged, $page ) );

?></title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant