Support » Themes and Templates » post template options

  • Resolved ronchicago


    when creating “pages” there is an option to select a custom “template.” i’d like to have two ‘post” layout options where the sidebars and column widths vary. custom fields is not up to this yet. any way of achieving this short of integrating two themes into one site?

Viewing 5 replies - 1 through 5 (of 5 total)
  • after playing around with single.php, etc., is there a workaround?

    the question, while in admin and writing/editing a post, is it possible to add code to single.php that would also call/generate a single2.php ( for example ) that would have a different layout than single.php?

    single.php would appear as usual. single2.php would be found from a link. a simple single-post entry generating two layouts.

    a) yes
    b) no
    c) probably but not sure how to do it.

    I’m in the same boat. Anyone have an answer here?

    * get_header(‘myheader’) will include header-myheader.php
    * get_footer(‘myfooter’) will include footer-myfooter.php
    * get_sidebar(‘mysidebar’) will include sidebar-mysidebar.php

    I was looking for a way to do this from the “new post” page- like you get (the dropdown) when you create a new page… (I’d like to have product-specific templates that I can choose when authoring a new post.

    Why not use pages instead of posts you may ask? I’m using categories to sort sidebar sections. Pages don’t have categories. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘post template options’ is closed to new replies.