• For some reason, my WordPress theme files are not in alphabetical order anymore. What could have caused this to happen?

    This is my order:

    * Stylesheet
    * ie.css
    * dd-formmailer-plugin.css
    * Comments
    * attachment.php
    * Page Template
    * Sidebar
    * functions.php
    * Single Post
    * Header
    * 404 Template
    * Main Index Template
    * searchform.php
    * misc.php
    * Search Results
    * Archives
    * Popup Comments
    * Archives
    * Footer
    * Links

Viewing 3 replies - 16 through 18 (of 18 total)
  • No, I’m not saying that 🙂 I’m saying that maybe the “Template Name” in each of the files is why it’s showing up out of alphabetical order.

    For example, say I had three files: stylesheet.css, index.php and sidebar.php. In each of those files, I had a commented-out section with “Template Name” in them. Just for fun, I felt very French and named the index page “Ze home page” and the sidebar’s template name would be “A list of stuff”.

    In the side of my Admin area, the list would show up as:

    stylesheet
    Ze Home Page
    A list of stuff

    because the *filenames* were still in alphabetical order.

    I’m not saying you did anything to the files, I was just wondering if each file had a “template name” and maybe that’s why it’s throwing you off. Maybe the creator of the theme named them something different than what the filename is – so it’s showing in order of filename (but the title is different) and thus throwing you off.

    Make sense?

    Thread Starter GaryKing

    (@garyking)

    I’m using the default theme, so nothing was changed from default. The filenames are generally the same, too. I have never used a theme where the creator would change the filenames of core files, although I’m sure they exist, but not normally.

    Thread Starter GaryKing

    (@garyking)

    Any suggestions?

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘WordPress theme files are out of order’ is closed to new replies.