我想复制我的主页,然后调用页面A。页面b&;c、 -这样我就可以编辑所有页面上的一些内容。我已经有了一些页面,但我不能得到完全相同的内容。我复制了style.css
到header.php
如果我删除标题末尾的div主站点,可能是因为它在结尾调用了主页。php我失去了我想要的大部分东西。这是代码
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( \'charset\' ); ?>">
<meta name="viewport" content="width=device-width">
<title><?php wp_title( \'|\', true, \'right\' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( \'pingback_url\' ); ?>">
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
<![endif]-->
<?php wp_head(); ?>
<style>
@import url(http://fonts.googleapis.com/css?family=Crimson+Text:300,400,500,700);
body {
background-image:url(http://Shot.jpeg); ----- this pic is not the same px as homepage!
background-position: 70px 0px;background-size: cover;background-attachment:scroll;margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;font-family: \'Crimson+Text\', serif, inherit;font-variant:small-caps;font-size:16px;}
.style1 { ----up to style12----}#tst4 {position: absolute; top:105px; left:70px;}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:0;">
<tr bgcolor="#1a1e2a">
<td align="left" valign="top" bgcolor="#1a1e2a"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" bgcolor="#1a1e2a" cellpadding="0">
<tr>
<td width="20px" ></td>
<td><span class="style1">My homepage title is three words</span></td>
<td><span class="style3"> I wish the third word to go here so it is different on every page - </span></td>
</tr>
</table></td>
</tr>
<tr>
<td><div id="tst4";><img src="http://www.myhomepage.net/wp-content/uploads/2014/01/header_underline.png" alt="header_underline" width="200" height="17" /></div></td>
</tr>
</table></td>
<td width="50%" align="right" valign="right"><div bgcolor="646565" align="right">
<table width="50%" border="5" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="style7" style="border-bottom-right-radius:0px;border-bottom-left-radius:0px;"><div align="center"><?php if ( function_exists(\'cn_social_icon\') ) echo cn_social_icon(); ?></div></td>
<tr>
<tr>
<td class="style10" > <div bgcolor="646565" align="right">like us</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<div align="right"></div></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="style6"><table border="0" cellpadding="0" cellspacing="0" bordercolor="#0d8181" bgcolor="#1a1e2a" style="border-bottom-right-radius:5px;">
</tr>
<td><p></p></td>
</tr>
</style>
</head>
<div id="main" class="site-main">