+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24

Thread: Different Sidebar per Page?

  1. #21
    Join Date
    Feb 2009
    Posts
    605

    Default

    You can use include() instead of get_sidebar(), e.g.:

    PHP Code:
    include (TEMPLATEPATH '/r_sidebar.php'); 
    but if you have a custom sidebar for your page, e.g., sidebar-page1.php, you can still use get_sidebar():

    PHP Code:
    get_sidebar('page1'); 
    You just need to make sure the filename is of the format sidebar-pagename.php when using it.

    Read more about the latest developments here:

    http://www.freewordpressthemes.com/b...es-know-about/
    http://codex.wordpress.org/Include_T...debar_Template
    http://codex.wordpress.org/Template_...y#Page_display




    Quote Originally Posted by ajobin View Post
    Hi there
    I'm using Cutline 1.4.3. split, where there are no more "get_sidebar"-statements. How should I change the new page template (compared to page.php)?
    Thank you very much in advance!

  2. #22
    Join Date
    Jan 2010
    Posts
    2

    Default

    Thank you very much for the clarification and the links. I guess I should have been able to figure it out without bothering you... Next time I will try a little harder. ;-)
    Thanks again!

  3. #23
    Join Date
    Mar 2009
    Posts
    21

    Thumbs up Sofimi You're Awesome

    Throughout this thread, and in other parts of the forum, you have patiently pasted careful, and specific, instructions. I haven't always gotten the execution right on first pass.

    BUT when I go back and re-read what you've written, and paste carefully (being mindful of the ";" and other "<" type punctuation, your instructions work like a charm. Consistently.

    Thank you for your HOURS of service to the users of this FREE theme.

  4. #24

    Default

    thanks regel best forum rules.....

+ Reply to Thread

Similar Threads

  1. Align the Page Titles to the Center of the Page
    By nailyener in forum Header & Nav Bar
    Replies: 3
    Last Post: 10-31-2010, 02:26 PM
  2. Need to make custom page-template sans R sidebar. How?
    By ceejski in forum Posts, Pages, Comments
    Replies: 6
    Last Post: 10-31-2010, 02:19 PM
  3. How To Move Sidebar to Bottom of Page?
    By I<3GOOGLE in forum Sidebar
    Replies: 3
    Last Post: 03-03-2010, 04:37 AM
  4. sidebar in middle/bottom of page?
    By bedwettingcosmonaut in forum Sidebar
    Replies: 1
    Last Post: 01-07-2010, 09:49 AM
  5. No ads in the sidebar - help :-(
    By ianjmatt in forum Sidebar
    Replies: 1
    Last Post: 09-15-2009, 04:04 AM

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