WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] What files are used where (4 posts)

  1. Josh
    Member
    Posted 6 years ago #

    I'm just getting started with theme development and have spent several days reading through the documentation to get a hold on things. I have a few questions about how some of the template files are used from the default theme.

    I see archive.php and archives.php. I'm not sure which one gets used for what page. I also an not quite sure what attachment.php is used for. I found a page in the docs talking about it but it was not clear to me.

  2. Josh
    Member
    Posted 6 years ago #

    Actually I was able to figure out attachment.php and archive.php.

    Still not sure when archives.php gets used though.

  3. Josh
    Member
    Posted 6 years ago #

    After digging deeper, I found out how to create a new page and use archives.php as the template.

  4. moshu
    Member
    Posted 6 years ago #

    Look in the default theme: archives.php is a Page template!

Topic Closed

This topic has been closed to new replies.

About this Topic