Title of the blog does not show up even when hard coded in header.php
-
I cannot see the title of my blog on pages.
Pages are https://www.fresh-industries.com and https://www.fresh-industries.com/aboutThe home page shows nothing and the about pages shows “About | Fresh Industries” as the title. The title of my blog is Fresh Industries.
I have tried hard-coding the title into the code as well but nothing changes.
My header code is:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>
<head profile=”https://gmpg.org/xfn/11″>
<title><?php wp_title() ?></title>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
<meta name=”keywords” content=”Fresh, Fresh Industries, FI, Prhime, creativity” />
<link rel=”SHORTCUT ICON” href=”https://www.fresh-industries.com/images/favicon.ico” />
<!– leave this for stats –><style type=”text/css” media=”screen”>
@import url( <?php bloginfo(‘stylesheet_url’);
?> );
</style>
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_head(); ?>
</head>
<body>
and the index.php code is
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require(‘./words//wp-blog-header.php’);
?>
- The topic ‘Title of the blog does not show up even when hard coded in header.php’ is closed to new replies.