WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to change filename titles?? (2 posts)

  1. Altstatten
    Member
    Posted 7 years ago #

    Found only one post on this topic and it didn't go into enough detail so let's try this again.

    The "index.php" file in my theme shows up on my theme edit sidebar as "Main Index Template".

    My "posts.php" file shows up as "posts.php".

    All I'm trying to figure out is how to edit the filename that is displayed in my theme edit area sidebar so it says what I want it to.

    The post I found/mentioned above said something about changing the commented out text in the file itself, but there is no commented text in the filename itself!

    All I'm trying to do is make posts.php appear as Posts.

    If you know how to do this please show me the code to copy/paste into the file and I can take it from there. Thanks!

  2. MichaelH
    Member
    Posted 7 years ago #

    Not seeing the exact file name in the Theme editor has always bugged me too, but please try to live with it, as that is an internal thing--unless of course you are going to start modifying the core code that causes something like sidebar.php to be displayed there as Sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic