1
在我的网站的浏览器选项卡信息中,我想用竖线替换短划线。如何将 - (endash)更改为| (垂直条)在我的浏览器?
因此,而不是网站名称 - 网站标语,它将是网站名称|网站标语。这也将是类似的页面上,例如,现在它是网站名称 - 网站类别,但我想站点名称|网站分类。我使用的是GoodLife主题,但我在下面添加了header.php。有谁知道我可以如何改变这一点?
的header.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
\t <meta charset="<?php bloginfo('charset'); ?>">
\t <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=1">
\t <link rel="profile" href="http://gmpg.org/xfn/11">
\t <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
\t <?php wp_site_icon(); ?>
\t <?php
\t \t $header_style = ot_get_option('header_style', 'style1');
\t \t $general_boxed = (ot_get_option('general_boxed') == 'on' ? 'boxed' : '');
\t ?>
\t <?php
\t \t /* Always have wp_head() just before the closing </head>
\t \t * tag of your theme, or you will break many plugins, which
\t \t * generally use this hook to add elements to <head> such
\t \t * as styles, scripts, and meta tags.
\t \t */
\t \t wp_head();
\t ?>
</head>
<body <?php body_class(); ?>>
<div id="wrapper" class="open">
\t
\t <!-- Start Mobile Menu -->
\t <?php do_action('thb_mobile_menu'); ?>
\t <!-- End Mobile Menu -->
\t
\t <!-- Start Content Container -->
\t <section id="content-container">
\t \t <!-- Start Content Click Capture -->
\t \t <div class="click-capture"></div>
\t \t <!-- End Content Click Capture -->
\t \t <?php
\t \t \t get_template_part('inc/header/fixed');
\t \t \t get_template_part('inc/header/subheader');
\t \t \t get_template_part('inc/header/'.$header_style);
\t \t \t get_template_part('inc/header/pageskin');
\t \t ?>
\t \t
\t \t <div role="main" class="<?php echo esc_attr($general_boxed); ?>">