Comments 3laugher started the conversationSeptember 18, 2023 at 9:48amPerhaps I did some trouble modifying my header. Pls, check it and say to me if I could change (mainly deleting) some row. :)<head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"><?php if ( get_theme_mod( 'penci_favicon' ) ) : ?><link rel="shortcut icon" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>"type="image/x-icon"/><link rel="apple-touch-icon" sizes="180x180" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>"><?php endif; ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Feed"href="<?php bloginfo( 'rss2_url' ); ?>"/> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo( 'name' ); ?> Atom Feed"href="<?php bloginfo( 'atom_url' ); ?>"/> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"/> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> <![endif]--> <?php wp_head(); ?> </head> 2,610PenciDesign repliedSeptember 18, 2023 at 10:04amHi,All of the code is related to the standard HTML structure and the WordPress core; you should avoid deleting any of it.Regards,PenciDesign. Sign in to reply ...
Perhaps I did some trouble modifying my header. Pls, check it and say to me if I could change (mainly deleting) some row. :)
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php if ( get_theme_mod( 'penci_favicon' ) ) : ?>
<link rel="shortcut icon" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>"
type="image/x-icon"/>
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>">
<?php endif; ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Feed"
href="<?php bloginfo( 'rss2_url' ); ?>"/>
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo( 'name' ); ?> Atom Feed"
href="<?php bloginfo( 'atom_url' ); ?>"/>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"/>
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
Hi,
All of the code is related to the standard HTML structure and the WordPress core; you should avoid deleting any of it.
Regards,
PenciDesign.