Sitemaps: Add wrapping <div>
around sitemap in stylesheet.
This makes it easier to style the sitemap and for example center the entire content area. Props ramiy. Fixes #50622. git-svn-id: https://develop.svn.wordpress.org/trunk@48471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf4897f5d8
commit
649b7aae92
@ -91,6 +91,7 @@ class WP_Sitemaps_Stylesheet {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="sitemap">
|
||||
<div id="sitemap__header">
|
||||
<h1>{$title}</h1>
|
||||
<p>{$description}</p>
|
||||
@ -131,6 +132,7 @@ class WP_Sitemaps_Stylesheet {
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
@ -199,6 +201,7 @@ XSL;
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="sitemap">
|
||||
<div id="sitemap__header">
|
||||
<h1>{$title}</h1>
|
||||
<p>{$description}</p>
|
||||
@ -227,6 +230,7 @@ XSL;
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user