Sidebar issues in a custom template

17 views
Skip to first unread message

Thor

unread,
Dec 27, 2012, 2:46:20 AM12/27/12
to k2-su...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages