WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar issues in custom K2 templates (1 post)

  1. thorbj
    Member
    Posted 1 year ago #

    Hi, I'm struggeling with some sidebar issues in a custom template.

    I have this page template:
    http://pastebin.com/8tBp3QuC

    It is basically copy/paste from the K2 page.php.

    At the bottom of this template I have the following code to, I assume, call the sidebar:

    <?php if ( ! get_post_custom_values('sidebarless') ) get_sidebar(); ?>

    If I remove this code-string, the design gets messed up,If I move this code-string, the design gets messed up.

    I wanna know how I can do two things:

    1. Remove the sidebar from a page template.
    2. Move the sidebar from right to left in a page template.

    I greatly appreciate any constructive reply!
    Thanks and happy holidays!

    -Thor

Topic Closed

This topic has been closed to new replies.

About this Topic