Linking to a Template file
-
Hi,
Sorry if this is redundant but I can’t seem to find what I need.
I’ve created a custom template called sitemap.php. It has the appropriate php coding in the top as below
<?php
/*
Template Name: Sitemap
*/
?>If I create a new page and use that as the template, the page works fine.
My problem is, I want to link directly to sitemap.php using my navigation links. In other words, I don’t want to create a page using the WordPress admin panel.
I have tried so many things I won’t begin to list them but if someone can give me a hand, I would be grateful.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Linking to a Template file’ is closed to new replies.