How to remove – dash before site title
-
hello , iam getting – dash before site tile i tried all possible solution by editing header.php but no use. Iam using sydney theme and yoast plugin
i think yoast plugin is conflicting with theme
when i deactivate yoast plugin dash is automattically removed from the site title
plz help me
site name gopcsoft.commy header.php looks like this
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id=”content”>
*
* @package Sydney
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”profile” href=”https://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<?php if ( ! function_exists( ‘has_site_icon’ ) || ! has_site_icon() ) : ?>
<?php if ( get_theme_mod(‘site_favicon’) ) : ?>
<link rel=”shortcut icon” href=”<?php echo esc_url(get_theme_mod(‘site_favicon’)); ?>” />
<?php endif; ?>
<?php endif; ?><?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<div class=”preloader”>
<div class=”spinner”>
<div class=”pre-bounce1″></div>
<div class=”pre-bounce2″></div>
</div>
</div>
<div id=”page” class=”hfeed site”>
<?php _e( ‘Skip to content’, ‘sydney’ ); ?><header id=”masthead” class=”site-header” role=”banner”>
<div class=”header-wrap”>
<div class=”container”>
<div class=”row”>
<div class=”col-md-2 col-sm-8 col-xs-12″>
<?php if ( get_theme_mod(‘site_logo’) ) : ?>
“title=”<?php bloginfo(‘name’); ?>”><img class=”site-logo” src=”<?php echo esc_url(get_theme_mod(‘site_logo’)); ?>” alt=”<?php bloginfo(‘name’); ?>” />
<?php else : ?>
<h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
<?php endif; ?>
</div><div class=”col-md-10 col-sm-4 col-xs-12″>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘sydney_menu_fallback’ ) ); ?>
</nav><!– #site-navigation –></div>
</div>
</div>
</div>
</header><!– #masthead –>
<?php sydney_slider_template(); ?><div class=”header-image”>
<?php sydney_header_overlay(); ?>
<img class=”header-inner” src=”<?php header_image(); ?>” width=”<?php echo esc_attr( get_custom_header()->width ); ?>” alt=”<?php bloginfo(‘name’); ?>”>
</div><div id=”content” class=”page-wrap”>
<div class=”container content-wrapper”>
<div class=”row”>
- The topic ‘How to remove – dash before site title’ is closed to new replies.