• Resolved Mathijs Lemmers

    (@mathijs-lemmers)


    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • kmessinger

    (@kmessinger)

    Where did you get this theme?

    Thread Starter Mathijs Lemmers

    (@mathijs-lemmers)

    On themeforest.net.

    Are you suggesting I ask the maker?

    Could try it but don’t know if he will help since it’s not a error in the theme so it doesn’t cover theme support.

    esmi

    (@esmi)

    Are you suggesting I ask the maker?

    Yes. We do not support commercial themes here as you paid for support when you bought the theme. It is not our place to keep theme vendors in business or deprive them of any income that they may derive from support services.

    Thread Starter Mathijs Lemmers

    (@mathijs-lemmers)

    I don’t understand that, as this problem is not theme related but okay, I will ask if they can help.

    Thanks for both of your time!

    kmessinger

    (@kmessinger)

    Have you tried setting your title in the dashboard, settings, general? You can add more information with the tag line. And then make it not visible with css.

    title {
    display: none;
    }

    If that won’t work the theme is not written to do what you want. Advising on the modification of theme files or supporting premium themes is not done here.

    But now I want to change my wp title because Google likes to see some more info in there.

    Who told you that?

    Thread Starter Mathijs Lemmers

    (@mathijs-lemmers)

    Who told you that?

    I’ve read it on multiple blogs and a friend of mine put city names in his and can now be found on a lot of first pages in google when searching for a service + city name.

    kmessinger

    (@kmessinger)

    The secret to getting good page ranking is to have good copy. Nothing else.

    https://googlewebmastercentral.blogspot.ca/2011/05/more-guidance-on-building-high-quality.html

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Edit website Title’ is closed to new replies.