-
thenashoneJune 1, 2014 at 1:13 pm #31464
When i registered for this forum i started to scan quickly through some threads and found that someone was asking to have a left sidebar. i too was requiring this feature after some quick editing i have a solution that i am happy with (not perfect)
i have a small walk-round for this and i hope it helps others that too wanted this featureCreate a page named tmp-leftsidebar-page.phppaste the following code into it<?php/** template name:new leftsidebar*/?><?php get_header(); ?><div id=”main_news_wrapper”><div id=”row”><?php if ( function_exists(‘dynamic_sidebar’) && is_active_sidebar(‘page’)) : ?><div id=”right_wrapper”><?php dynamic_sidebar(‘page’); ?></div><?php endif; ?><!– Left wrapper Start –><div id=”left_wrapper”><div class=”header”><h2><?php echo orizon_breadcrumbs(); ?></h2></div><div id=”post_wrapper”><div id=”psidebar”><?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php the_content(); ?><?php endwhile; endif; ?></div><div class=”clear”> </div></div></div><!– Left wrapper end –></div></div><?php get_footer(); ?><style>#right_wrapper {float:left;width: 332px;margin-top:-15px;}</style>Upload into your main directory then go to your page and select “new-leftsidebar” from the template drop-down option.Like i stated above this is a simple fix but if anyone can improve it please feel free.
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!