Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1406

    Is it possible to have a different template on a per-category basis?

    If so how do I do this?

    For example, for portfolio items I don’t want the date to appear next to the post title yet for normal blog posts i’d like it to be there.

    #35078

    Ahh no it’s ok I just figured it out :)

    #35079

    Glad you solved the problem.

    #35080

    How did you remove the date for portfolio items and not blog? I am definitely interested in this.

    #35081

    Hey,

    You can use the “Custom Post Template plugin” to select individual templates for your posts/portfolio entries. You can download it here:

    http://wordpress.org/extend/plugins/custom-post-template/

    Install the plugin, make a copy of single.php (rename the copy to template-portfolio-entry.php) and and paste the following code before the first code line.

    <?php
    /*
    Template Name Posts: Portfolio
    */
    ?>

    Then modify template-portfolio-entry.php as you like (i.e. remove the date).

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Different blog post templates?’ is closed to new replies.