The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] How do I create a single.php template? (3 posts)

  1. royc
    Posted 8 years ago #

    Hello. I am using a drastically hacked version of the "fspring_widgets" theme and WP 2.5.1, and I'm loving it, but this theme lacks a "single.php" file (using the "index.php" template in its stead). I'm finding that a lot of things I'd like to further customize in this theme would be much easier if I had a "single.php" template. Is there a How-To somewhere I can look at? What do I need to do besides creating and uploading such a file (e.g., where do I "call" it in my code?)?

    Any help would be greatly appreciated.

    Peace today,

    -royc. | http://roychristopher.com

  2. Leland Fiegel
    Posted 8 years ago #

    Simply create a file called single.php with the contents of your current index.php file. Then add whatever customizations you want to the single.php file. The changes should be reflected across all your single blog post pages.

  3. royc
    Posted 8 years ago #

    In the interim, that's exactly what I did. Thanks.

    I didn't know it was going to be so easy. :]

Topic Closed

This topic has been closed to new replies.

About this Topic