Support » Theme: Hueman » What happened with my header.php code?

  • Resolved RodrigoZid

    (@rodrigozid)


    Hello, from the latest updates of Hueman theme, I can not edit the code I had in my header.php before upgrading, now when entering the header.php I do not see the code, simply I get this:

    <head>
      <meta charset="<?php bloginfo('charset'); ?>">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link rel="profile" href="http://gmpg.org/xfn/11">
      <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
      <?php wp_head(); ?>
    </head>

    When before I had something like this:

    <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link rel="profile" href="http://gmpg.org/xfn/11">
      <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
    	<link rel="apple-touch-icon" href="/wp-content/uploads/2015/12/apple-touch-icon.png" />
    	<link rel="apple-touch-icon" sizes="57x57" href="/wp-content/uploads/2015/12/apple-touch-icon-57x57.png" />
    	<link rel="apple-touch-icon" sizes="72x72" href="/wp-content/uploads/2015/12/apple-touch-icon-72x72.png" />
    	<link rel="apple-touch-icon" sizes="76x76" href="/wp-content/uploads/2015/12/apple-touch-icon-76x76.png" />
    	<link rel="apple-touch-icon" sizes="114x114" href="/wp-content/uploads/2015/12/apple-touch-icon-114x114.png" />
    	<link rel="apple-touch-icon" sizes="120x120" href="/wp-content/uploads/2015/12/apple-touch-icon-120x120.png" />
    	<link rel="apple-touch-icon" sizes="144x144" href="/wp-content/uploads/2015/12/apple-touch-icon-144x144.png" />
    	<link rel="apple-touch-icon" sizes="152x152" href="/wp-content/uploads/2015/12/apple-touch-icon-152x152.png" />
    	<link rel="apple-touch-icon" sizes="180x180" href="/wp-content/uploads/2015/12/apple-touch-icon-180x180.png" />
    
    <meta name="description" content="Cómo ganar dinero en Internet 2016 gratis. ☛ Desde casa y sin invertir. Fácil y rápido. Las mejores páginas y comprobantes de pago por PayPal.">
    
    <script src="https://apis.google.com/js/platform.js" async defer>
      {lang: 'es'}
    </script>
    
      <?php wp_head(); ?>
    </head>

    But if you review my website code: http://tododineroonline.com/, you can see that the old code is still there, then how can I edit it?, where can I find the old code?

    Help me. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi rodrigozid.

    I can not edit the code I had in my header.php before upgrading

    The code in your first block is the default source code in the theme template header.php file. That part of header.php hasn’t changed since v3.0 was released. The code in your second block, between the pingback and wp_head(), is not a part of the default theme header.php file. Do you have a modified copy of header.php in a child theme? Or did you make changes to the default theme template header.php file?

    Thread Starter RodrigoZid

    (@rodrigozid)

    Hello bdbrown, I made changes in the Hueman theme header.php, but the problem is that the header.php is empty now, however when I run a seo analysis it says that the meta tags that I added before are still there, and when I check my web code, they are there. I don’t understand…

    I made changes in the Hueman theme header.php

    If you’re saying you changed the default theme template file header.php and, now that you’ve upgraded the theme, all your changes are no longer there, that’s understandable since the theme header.php file would have been replaced during the update.

    If your SEO report indicates the apple icon links are still in your site source code then whatever you’re using to generate that report is not looking at the current version of your site. Have you updated your minimized files and cleared your cache?

    Thread Starter RodrigoZid

    (@rodrigozid)

    Thank you bdbrown, I have solved the problem.

    ok, thanks for letting us know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘What happened with my header.php code?’ is closed to new replies.