How do I get rid of this symbol?
The problem is whenever I open my website (| How To Focus Better) on the Google Chrome tab, this symbol "|" shows up before the phrase, "How To Focus Better".
As you can see, it looks like this:
| How To Focus Better
How can I get rid of it so it looks like this?
How To Focus Better
Someone told me this advice, but I don't understand what he means:
Ah okay. It sounds like your page that you have set to be the front page doesn't have a title for some reason. You could try pulling in a static title for the front page. You'd need to edit the header.php and use a if(is_front_page()) statement to pull in your title.
Another person told me this advice, but I can't locate the symbol:
Try editing your theme's header.php template file and removing the | symbol from the <title></title> tags.
I have posted my WordPress header.php just to provide additional information, if it helps:
Linen PRO: header.php
<?php global $linen; ?>
<!DOCTYPE html>
<html <?php language_attributes( 'html' ) ?>>
<head>
<?php if ( is_front_page() ) : ?>
<title><?php bloginfo( 'name' ); ?></title>
<?php elseif ( is_404() ) : ?>
<title><?php bloginfo( 'name' ); ?></title>
<?php elseif ( is_search() ) : ?>
<title><?php printf(__ ("Search results for '%s'", "linen"), get_search_query()); ?><?php bloginfo( 'name' ); ?></title>
<?php else : ?>
<title><?php wp_title($sep = '' ); ?><?php bloginfo( 'name' );?></title>
<?php endif; ?>
<!-- Basic Meta Data -->
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="copyright" content="<?php
esc_attr( sprintf(
__( 'Design is copyright %1$s The Theme Foundry', 'linen' ),
date( 'Y' )
) );
?>" />
<!-- Favicon -->
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/images/favicon.ico" />
<!-- WordPress -->
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-21871265-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body <?php body_class(); ?>>
<div class="skip-content"><a href="#content"><?php _e( 'Skip to content', 'linen' ); ?></a></div>
<div id="wrapper" class="clear">
<div id="header" class="clear">
<?php if ($linen->logoState() == 'true' ) : ?>
<?php $upload_dir = wp_upload_dir(); ?>
<div id="title-logo">
<a href="<?php echo home_url( '/' ); ?>">
<img src="<?php echo $linen->logoName(); ?>" alt="<?php if ($linen->logoAlt() !== '' ) echo $linen->logoAlt(); else echo bloginfo( 'name' ); ?>" />
</a>
</div>
<?php if ($linen->logoTagline() == 'true' ) : ?>
<div id="description">
<h2><?php bloginfo( 'description' ); ?></h2>
</div><!--end description-->
<?php endif; ?>
<?php else : ?>
<?php if (is_home()) echo( '<h1 id="title">' ); else echo( '<div id="title">' );?><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a><?php if (is_home()) echo( '</h1>' ); else echo( '</div>' );?>
<div id="description">
<h2><?php bloginfo( 'description' ); ?></h2>
</div><!--end description-->
<?php endif; ?>
<?php
wp_nav_menu(
array(
'theme_location' => 'nav-1',
'container_id' => 'navigation',
'container_class' => 'clear',
'menu_class' => 'nav',
'fallback_cb' => array( &$linen, 'main_menu_fallback' )
)
);
?>
</div><!--end header-->
<?php if (($linen->sliderState() != '' ) && is_front_page() && !is_paged() ) { ?>
<?php get_template_part( 'tmpart-featured' ); ?>
<?php } ?>
<?php if (is_page_template( 'tm-left-sidebar.php' )) : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
<div id="content" <?php if ( ( is_page_template( 'tm-no-sidebar.php' ) ) || ( $linen->sidebarDisable() == 'true' ) ) echo ( 'class="no-sidebar"' ); ?>> -
Rovi -
Thanks - 1 reply
{{ DiscussionBoard.errors[4036530].message }}-
Keep Trying -
Thanks
{{ DiscussionBoard.errors[4036937].message }} -
-
-
JackTheLad -
Thanks
{{ DiscussionBoard.errors[4037987].message }} -
-
Mike Hlatky -
Thanks
{{ DiscussionBoard.errors[4038381].message }} -
-
Keep Trying -
Thanks - 1 reply
{{ DiscussionBoard.errors[4039867].message }}-
Rovi -
Thanks
{{ DiscussionBoard.errors[4041906].message }} -
-