• Is there a way to create a new page for the theme directory. For instance there is links.php and search.php, could I create a custom theme page called xyz.php?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It isn’t clear to me what you are trying to do. Create a file? Well, yes, of course that’s possible.

    Try explaining what you would like the end result to be.

    Thread Starter atlantafilms

    (@atlantafilms)

    I want to design a template page as a seperate file that contains only blogs certain blogs. I can do this using “The Loop” tag. I don’t want a header, sidebar, footer, etc. Just the blogs and even call it “justtheblogs.php”

    I know how to design the page and I know how to stick it into the templates directory. But how can I call up just that page from a URL?

    For instance, suppose I want to test out running just that template, how could I make a file to display it and put it onto my site at “www.mysite.com/test.php”?

    Thread Starter atlantafilms

    (@atlantafilms)

    Found what I needed. I can create a theme file called category-6.php and it will do what I need by calling the https://www.mysite.com/blog/?cat=6 URL.

    For anyone who finds this via a search, I believe altlantafilms is referring to the joys of Category_Templates. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a new theme page’ is closed to new replies.