Forums

Theme file not showing up in Theme Editor (2 posts)

  1. slobizman
    Member
    Posted 4 years ago #

    I have a theme that includes a file called "single.php". It's used to display a single post. The funny thing is that in my Theme Editor, it does not show up in the list of files on the right. Can't figure out why.

    I went in and added the following, just in case it would help (saw it in my links.php file), but it didn't do anything:


    <?php
    /*
    Template Name: single
    */
    ?>

    Why is it not showing up?

  2. moshu
    Member
    Posted 4 years ago #

    That's how it works. The single.php doesn't show up in the selection on the right. You can safely delete those lines from the top, those are for Page templates.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.