error on browser tab

  • yogot7r

    #3075

    I updated to the newest version of graphene and now i am getting an error on my browser tab where the title of the website is suppose to be. http://www.TotalFitnessExperience.com How can I fix this?

    Admin

    Syahir Hakim

    #23290

    Looks like you have a custom header.php file in your child theme. Change this particular bit of code:

    <?php graphene_title(); ?>

    to this:

    <?php wp_title( '' ); ?>

    Also, you may want to read about the downside of replacing the theme’s template files in a child theme here (under the “Special consideration” heading):

    http://wiki.khairul-syahir.com/graphene-theme/wiki/Customisation_using_a_child_theme#Special_consideration

    yogot7r

    #23291

    thanks i appreciate it.

    yogot7r

    #23292

    Should I just delete all the other files in the child theme?

    Admin

    Syahir Hakim

    #23293

    What other files do you have in your child theme?

    Sent via Android using Tapatalk. Please excuse my brevity.

    yogot7r

    #23294

    footer, header, images, style.css

    Admin

    Syahir Hakim

    #23295

    Did you modify the footer.php and header.php files? If you did, try making those changes using action hooks and CSS instead of editing the files directly. Replacing the theme’s template files should really be the last resort.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.