WordPress.org

Ready to get started?Download WordPress

Forums

single-category template needed for core wp (3 posts)

  1. afdownload
    Member
    Posted 4 years ago #

    dear guys,

    i want to ask you to add something very special to the wordpress template hierarchical structure, after searching a while i found out this is a problem for a lot of people like me.

    i have a site with many categories, is the current template structure I am able to create for example category-movie.php file and have my own template for movie category. but when it comes to the single file i am not able to create a sinlge-movie.php file to have my movie post's a with a different template than the default.

    even also if i wanted to user the post type for my categories, still i have a problem but it's viceversa. in post types I am able to have my single.movie.php template file but i don't have a file to have my post type categories template set in it.

    i guess this is too important matter to be let out from wordpress core installation. i hope you add this feature for the wordpress 3.1 version. please answer me soon!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    i am not able to create a sinlge-movie.php file

    Yes you can - if you set up a movie post type.

    http://codex.wordpress.org/Theme_Development#Theme_Template_Files_List

  3. afdownload
    Member
    Posted 4 years ago #

    dear esmi,
    yeah i can with post_type but it's all something different and i don't want to have post_type.
    i want my categories to have single files.
    in other hand the codes for post_type is totally different from the normal post. for example post_type does not have a category template file!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.