Sandbox theme in Wordpress - I want to move a sidebar from the left to the right
I bet you all hate WordPress questions (sorry!) but the WordPress support forum is useless.
I use the Sandbox theme, which has two sidebars, but they are both on the left hand side, one on top of the other.
Can anyone explain how I can either move one of these sidebars to the right hand side? Or how I can create a new sidebar and put it on the right hand side? I've tried editing the theme code myself. My blog is http://www.ieltsielts.com
Thanks in advance.
Re: Sandbox theme in Wordpress - I want to move a sidebar from the left to the right
I thought WordPress was PHP, am I wrong?
Re: Sandbox theme in Wordpress - I want to move a sidebar from the left to the right
Bit of both. But I am having serious trouble moving the sidebar around. Here is the code inside the sidebar:
<div id="primary" class="sidebar">
<ul class="xoxo">
<align=right>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : // begin primary sidebar widgets ?>
<li id="pages">
<h3><?php _e( 'Pages', 'sandbox' ) ?></h3>
<ul>
<?php wp_list_pages('title_li=&sort_column=menu_order' ) ?>
</ul>
</li>
<li id="categories">
<h3><?php _e( 'Categories', 'sandbox' ) ?>hello</h3>
<ul>
<?php wp_list_categories('title_li=&show_count=0&hierarchical=1') ?>
</ul>
</li>
<li id="archives">
<h3><?php _e( 'Archives', 'sandbox' ) ?></h3>
<ul>
<?php wp_get_archives('type=monthly') ?>
</ul>
</li>
<?php endif; // end primary sidebar widgets ?>
</ul>
</div><!-- #primary .sidebar -->
<div id="secondary" class="sidebar">
<ul class="xoxo">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : // begin secondary sidebar widgets ?>
<li id="search">
<h3><label for="s"><?php _e( 'Search', 'sandbox' ) ?></label></h3>
<form id="searchform" class="blog-search" method="get" action="<?php bloginfo('home') ?>">
<div>
<input id="s" name="s" type="text" class="text" value="<?php the_search_query() ?>" size="10" tabindex="1" />
<input type="submit" class="button" value="<?php _e( 'Find', 'sandbox' ) ?>" tabindex="2" />
</div>
</form>
</li>
<div align="right">
<?php wp_list_bookmarks('title_before=<h3>&title_after=</h3>&show_images=1') ?>
<li id="rss-links">
<h3><?php _e( 'RSS Feeds', 'sandbox' ) ?></h3>
<ul>
<li><a href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All posts', 'sandbox' ) ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All comments', 'sandbox' ) ?></a></li>
</ul>
</li>
<li id="meta">
<h3><?php _e( 'Meta', 'sandbox' ) ?></h3>
<ul>
<?php wp_register() ?>
<li><?php wp_loginout() ?></li>
<?php wp_meta() ?>
</ul>
</li>
<?php endif; // end secondary sidebar widgets ?>
</ul>
</div><!-- #secondary .sidebar -->
</div>
Re: Sandbox theme in Wordpress - I want to move a sidebar from the left to the right
By "bit of both" I suspect you mean PHP and JavaScript, neither of which have anything to do with Java.
I'll request the mods move this to client side scripting.