Title: Sidebar editing / Java not working?
Last modified: August 19, 2016

---

# Sidebar editing / Java not working?

 *  [wcoastweasel](https://wordpress.org/support/users/wcoastweasel/)
 * (@wcoastweasel)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-editing-java-not-working/)
 * I’m using the Marangal Green theme which has two sidebars. One sidebar is customizable
   via the widget section, whereas the other is not and can simply be modified by
   the code in Sidebar.php.
 * First of all, numerous plugins I’ve tried (including a couple currently active
   such as Collapsing Archives & SocialGrid) only appear to work “half-assed.” My
   archives don’t collapse, nor do my SocialGrid icons appear. It would seem that
   the java functions aren’t working? I’m not a pro, so that’s only a guess. I’ve
   tried various options within each widget / plugin and the issue persists. I’ve
   also reverted back to the original Sidebar.php, readded them and again the issue
   persists.
 * Secondly, how can I move some of these widgets from the right sidebar to the 
   left? Sidebar.php allows me to enter/modify code for the left sidebar but without
   access to the dynamic sidebar code, who can I move them over. Is this even possible?
   I’d like half of my sidebar utilities on the left, and the other half of the 
   right.
 * Here’s my preview site: [http://www.westcoastweasel.com.previewdns.com](http://www.westcoastweasel.com.previewdns.com)
 * Here’s my sidebar.php code, thanks:
 * <div id=”<?php if (is_home()) { echo ‘sidebar-home’; } else {echo ‘sidebar’; }?
   >”>
    <div id=”sidebar-right”> <div class=”top-pad”></div> <?php $feedburner_id
   = get_option(‘padd_feedburner_id’); if (!empty($feedburner_id)) { ?> <div class
   =”box box-feedburner”> <h2>Subscribe To Our Latest News</h2> <div class=”mid”
   >
 *  <div class=”interior”>
    <p>Sign up to receive latest news</p> <form id=”subscribe”
   action=”[http://www.feedburner.com/fb/a/emailverify&#8221](http://www.feedburner.com/fb/a/emailverify&#8221);
   method=”post” target=”popupwindow” onsubmit=”window.open(‘[http://www.feedburner.com&#8217](http://www.feedburner.com&#8217);,‘
   popupwindow’, ‘scrollbars=yes,width=550,height=520’);return true”> <span><input
   type=”text” value=”Email Address Here” onfocus=”if (this.value == ‘Email Address
   Here’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Email Address
   Here’;}” name=”email” id=”txtemail” /></span>
 *  <input type=”hidden” value=”[http://feeds.feedburner.com/~e?ffid=&lt](http://feeds.feedburner.com/~e?ffid=&lt);?
   php $feedburner_id = get_option(‘padd_feedburner_id’); echo $feedburner_id; ?
   >” name=”url” />
    <input type=”hidden” value=”News Subscribe” name=”title” />
   </form> </div> </div>
 * <?php
    $twitter_username = get_option(‘padd_twitter_username’); if (!empty($twitter_username)){
 *  ?>
    <div class=”box box-twitter”> <h2>Follow our ” title=”Twitter”>Tweets</h2
   >
 *  <div class=”interior”>
 *  </div>
 *  </div>
    <?php } ?>
 *  </div>
    <div class=”box box-adverts”> <h2>Sponsors</h2>
 *  <div class=”interior”>
    <div class=”row row-1″> <?php $default = get_bloginfo(‘
   template_url’) . ‘/images/your-ads-125×125.jpg’; $sqbtn_1_img = get_option(‘padd_sqbtn_1_img_url’);
   $sqbtn_1_url = get_option(‘padd_sqbtn_1_web_url’); $sqbtn_2_img = get_option(‘
   padd_sqbtn_2_img_url’); $sqbtn_2_url = get_option(‘padd_sqbtn_2_web_url’); ?>“
   ><img alt=”Advertisement” src=”<?php echo (!empty($sqbtn_1_img)) ? $sqbtn_1_img:
   $default; ?>” /> “><img alt=”Advertisement” src=”<?php echo (!empty($sqbtn_2_img))?
   $sqbtn_2_img : $default; ?>” /> </div> <div class=”row row-2″> <?php $sqbtn_3_img
   = get_option(‘padd_sqbtn_3_img_url’); $sqbtn_3_url = get_option(‘padd_sqbtn_3_web_url’);
   $sqbtn_4_img = get_option(‘padd_sqbtn_4_img_url’); $sqbtn_4_url = get_option(‘
   padd_sqbtn_4_web_url’); ?> “><img alt=”Advertisement” src=”<?php echo (!empty(
   $sqbtn_3_img)) ? $sqbtn_3_img : $default; ?>” /> “><img alt=”Advertisement” src
   =”<?php echo (!empty($sqbtn_4_img)) ? $sqbtn_4_img : $default; ?>” /> </div>
 *  </div>
 *  </div>
    <?php } ?>
 *  <?php
    $youtube_code = get_option(‘padd_youtube_code’); if (!empty($youtube_code)){?
   > <div class=”box box-video”> <h2>Featured Video</h2> <div class=”mid”> <div 
   class=”interior”> <?php echo stripslashes($youtube_code); ?> <div class=”clearer”
   ></div>
 *  </div>
    </div>
 *  </div>
    <?php } ?>
 *  <?php
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Side Bar’)){}?
   >
 *  </div>
 * <?php if (is_home()) : ?>
    <div id=”sidebar-left”> <div class=”top-pad”></div
   >
 *  <div class=”box1 box-blogroll”>
 *  <div class=”interior”>
    -  <?php wp_list_bookmarks(‘categorize=1&before=
    - &title_before=<h2>&title_after=</h2>&category_before=</n>&category_before=
      </n>&after=
    - &orderby=url’); ?>
 *  </div>
    </div> </div> <!– end sidebar1 –><?php endif; ?> </div>

The topic ‘Sidebar editing / Java not working?’ is closed to new replies.

## Tags

 * [java](https://wordpress.org/support/topic-tag/java/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 0 replies
 * 1 participant
 * Last reply from: [wcoastweasel](https://wordpress.org/support/users/wcoastweasel/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-editing-java-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
