Forums
Forums / Themes and Templates / Sidebar issues in custom K2 templates
(@thorbj)
13 years, 8 months 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
The topic ‘Sidebar issues in custom K2 templates’ is closed to new replies.