SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: single.php?

  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,666
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    single.php?

    I have three category pages (category-5.php, category-6.php, and category-7.php) and I want each one to have a different look if a single post is viewed, is it a simple as creating 3 copies of single.php? like single-category-5.php, single-category-6.php, and single-category-7.php?)
    Thanks
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,617
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Here's a list of the accepted templates: http://codex.wordpress.org/Theme_Dev...ate_Files_List

    And templates for categories: http://codex.wordpress.org/Category_...ile_is_Used.3F

    And a overview of the hierarchy of templates: http://codex.wordpress.org/Template_...isual_Overview

    I'm not sure if that's quite what you're looking for.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Addict
    Join Date
    May 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am just going through some tutorials this past week and I don't think that's how you woudl do this. i am very new to php and WP template design but from what I understand you would have one single.php post, that perhaps would call a diffrent style depending on the class /catogory called.
    Get a little bit extra out of life with www.stakemyrep.com
    and stay motivated the easy way!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •