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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div id="sitemap">
|
||||||
<div id="sitemap__header">
|
<div id="sitemap__header">
|
||||||
<h1>{$title}</h1>
|
<h1>{$title}</h1>
|
||||||
<p>{$description}</p>
|
<p>{$description}</p>
|
||||||
@ -131,6 +132,7 @@ class WP_Sitemaps_Stylesheet {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
@ -199,6 +201,7 @@ XSL;
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div id="sitemap">
|
||||||
<div id="sitemap__header">
|
<div id="sitemap__header">
|
||||||
<h1>{$title}</h1>
|
<h1>{$title}</h1>
|
||||||
<p>{$description}</p>
|
<p>{$description}</p>
|
||||||
@ -227,6 +230,7 @@ XSL;
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user