WordPress.org

Ready to get started?Download WordPress

Forums

Adding a new theme page (5 posts)

  1. atlantafilms
    Member
    Posted 7 years ago #

    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?

  2. Jon Bourne
    Member
    Posted 7 years ago #

    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.

  3. atlantafilms
    Member
    Posted 7 years ago #

    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"?

  4. atlantafilms
    Member
    Posted 7 years ago #

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

  5. Chris_K
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags