Edit website Title
-
Hello everybody,
After a long time of searching I finally give up and will post my problem on here. I really hope someone can help me!
I have a wp theme that inserts my wp title in my header if I don’t upload a custom logo.
So now in my header it reads “Purple Octopus Branding”. This looks great and is exactly what I want.But now I want to change my wp title because Google likes to see some more info in there.
The problem is, I want to change my wp title but I want my header text to still be “Purple Octopus Branding”.I thought this could be fixed easily by telling the code to not get the wp title but another text. But I can’t seem t find out how it works.
Here is the code:
<!-- Begin Body --> <body <?php body_class(); ?>> <div id="wrap" class="clr"> <header id="masthead" class="site-header clr <?php if ( wpex_get_data( 'static_header', '1' ) == '1' && !wp_is_mobile() ) echo 'fixed-scroll'; ?>" role="banner"> <div id="masthead-inner" class="container clr"> <div class="logo"> <?php if ( wpex_get_data('custom_logo') !== '' ) : ?> <?php /* Custom Image Logo */ ?> <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo wpex_get_data('custom_logo'); ?>" alt="<?php get_bloginfo( 'name' ) ?>" /></a> <?php else : ?> <?php /* Standard Logo */ ?> <?php if ( is_front_page() ) { ?> <h1><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php echo wpex_logo_icon(); ?><?php echo get_bloginfo( 'name' ); ?></a></h1> <?php } else { ?> <h2><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php echo wpex_logo_icon(); ?><?php echo get_bloginfo( 'name' ); ?></a></h2> <?php } ?> <?php endif; ?> </div><!-- .logo -->
If someone I said confused you please feel free to ask me to explain. My English is good but not great!
My website: https://purple-octopus.com/
If someone could help me that would be great, thanks in advance!
- The topic ‘Edit website Title’ is closed to new replies.