Hi,
I did a plugin for categories site map. Please have a look (DEMO
link):
To DOWNLOAD this FREE plugin, go to
LINK.
*** HOW TO enable it in sitemap page? ***- Copy "Sitemap.cshtml" file to "Themes/DefaultClean/Views/Common" folder.
- Open it to modify (add a custom widget zone named "custom_categories_sitemap"):
BEFORE
@if (Model.Categories.Count > 0)
{
<div class="entity">
<div class="entity-title">
<h2>@T("Sitemap.Categories")</h2>
</div>
<div class="entity-body">
<ul>
@foreach (var category in Model.Categories)
{
<li><a href="@Url.RouteUrl("Category", new { SeName = category.SeName })">@category.Name</a></li>
}
</ul>
</div>
</div>
}
AFTER
@if (Model.Categories.Count > 0)
{
<div class="entity">
<div class="entity-title">
<h2>@T("Sitemap.Categories")</h2>
</div>
<div class="entity-body">
<ul>
@foreach (var category in Model.Categories)
{
<li><a href="@Url.RouteUrl("Category", new { SeName = category.SeName })">@category.Name</a></li>
}
</ul>
</div>
</div>
@Html.Widget("custom_categories_sitemap")
}
- Go to admin, "Categories Site Map" plugin configuration page. Enter the custom widget zone name to the "Custom Widget Zone" text box, and then save this.
Hope this help :)