网站名称为newinternetdaily.com 所以昨天我为网站安装了newsmag破解主题。它具有更改标题的选项,但默认文本不会更改。 我不知道php所以帮助我编辑标题文本和页脚。 header.php的代码
<!doctype html >
<!--[if IE 8]> <html class="ie8" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<title><?php wp_title('|', true, 'right'); ?></title>
<meta charset="<?php bloginfo( 'charset' );?>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>
<body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
<?php //this is closing in the footer.php file ?>
<div id="td-outer-wrap">
<?php /* scroll to top */?>
<div class="td-scroll-up"><i class="td-icon-menu-up"></i></div>
<div class="td-transition-content-and-menu td-mobile-nav-wrap">
<?php locate_template('parts/menu-mobile.php', true);?>
</div>
<?php //this is closing in the footer.php file ?>
<div class="td-transition-content-and-menu td-content-wrap">
<?php
td_api_header_style::_helper_show_header();
do_action('td_wp_booster_after_header'); //used by unique articles
And the footer.php file is
<!-- Footer -->
<?php
if (td_util::get_option('tds_footer') != 'no') {
td_api_footer_template::_helper_show_footer();
}
?>
<!-- Sub Footer -->
<?php if (td_util::get_option('tds_sub_footer') != 'no') { ?>
<div class="td-sub-footer-container td-container td-container-border <?php if (td_util::get_option('tds_footer') == 'no' && td_util::get_option('tds_footer_bottom_color') == '' ) { echo "td-add-border";} ?>">
<div class="td-pb-row">
<div class="td-pb-span4 td-sub-footer-copy">
<div class="td-pb-padding-side">
<?php
$tds_footer_copyright = td_util::get_option('tds_footer_copyright');
$tds_footer_copy_symbol = td_util::get_option('tds_footer_copy_symbol');
//show copyright symbol
if ($tds_footer_copy_symbol == '') {
echo '© ';
}
echo $tds_footer_copyright;
?>
</div>
</div>
<div class="td-pb-span8 td-sub-footer-menu">
<div class="td-pb-padding-side">
<?php
wp_nav_menu(array(
'theme_location' => 'footer-menu',
'menu_class'=> '',
'fallback_cb' => 'td_wp_footer_menu'
));
//if no menu
function td_wp_footer_menu() {
//do nothing?
}
?>
</div>
</div>
</div>
</div>
<?php } ?>
</div><!--close content div-->
</div><!--close td-outer-wrap-->
<?php wp_footer(); ?>
</body>
</html>
答案 0 :(得分:1)
转到wordpress仪表板,点击 Newsmag&gt;主题面板,在主题面板下点击标题,然后转到 Logo&amp;图标的。 你可以找到文字标识和文字标志标语,在这里你可以改变。
答案 1 :(得分:0)
将此代码标识为@Transactional
部分,并更改背景
<head></head>