Topic: Edit sitemap page to use other index template?

I have created a floated sidebar which is "hardcoded" inside index template and it works great. However I do not want this sidebar
when viewing Sitemap page and I can not figure it out how to use other index template......

I tried to add a page called "sitemap" (slug)  in admin and then use other index template but page still uses default index template
and not the "cloned" one without sidebar html code....

Suggestions?

Hope I have made myself clear.....I am tired smile

2 2012-08-06 18:49:42

Re: Edit sitemap page to use other index template?

Sitemap has own reserved page: sitemap.
You can use your own template if you will add this function to sitemap plugin (Sitemap class):

plugins / box / sitemap / sitemap.plugin.php

        public static function template() {
            return 'your_template_name';
        }
Monstra Loves You! Give some love back!

Re: Edit sitemap page to use other index template?

cool
Thank you very much!