Index: /sites/all/themes/responsive_blog/templates/html.tpl.php
===================================================================
--- /sites/all/themes/responsive_blog/templates/html.tpl.php	(org)
+++ /sites/all/themes/responsive_blog/templates/html.tpl.php	(new)
@@ -5,7 +5,7 @@
 <title><?php print $head_title; ?></title>
 <?php print $styles; ?>
 <?php print $scripts; ?>
-<!--[if lt IE 9]><script src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/js/html5.js'; ?>"></script><![endif]-->
+<!--[if lt IE 9]><script src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/js/html5.js') ? drupal_get_path('theme',$GLOBALS['theme']) . '/js/html5.js' : drupal_get_path('theme', 'responsive_blog') . '/js/html5.js'; ?>"></script><![endif]-->
 </head>
 <body class="<?php print $classes; ?>"<?php print $attributes; ?>>
   <?php print $page_top; ?>
Index: /sites/all/themes/responsive_blog/templates/maintenance-page.tpl.php
===================================================================
--- /sites/all/themes/responsive_blog/templates/maintenance-page.tpl.php	(old)
+++ /sites/all/themes/responsive_blog/templates/maintenance-page.tpl.php	(new)
@@ -18,7 +18,7 @@
   <title><?php print $head_title; ?></title>
   <?php print $styles; ?>
   <?php print $scripts; ?>
-  <!--[if lt IE 9]><script src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/js/html5.js'; ?>"></script><![endif]-->
+  <!--[if lt IE 9]><script src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/js/html5.js') ? drupal_get_path('theme',$GLOBALS['theme']) . '/js/html5.js' : drupal_get_path('theme', 'responsive_blog') . '/js/html5.js'; ?>"></script><![endif]-->
 </head>
 
 <body class="<?php print $classes; ?>" <?php print $attributes;?>>
@@ -26,7 +26,7 @@
 
 <div id="wrapper">
   <header id="header" class="clearfix">
-    <?php if (theme_get_setting('image_logo','responsive_blog')): ?>
+    <?php if (theme_get_setting('image_logo')): ?>
       <?php if ($logo): ?><div id="site-logo"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>">
         <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
       </a></div><?php endif; ?>
Index: /sites/all/themes/responsive_blog/templates/page.tpl.php
===================================================================
--- /sites/all/themes/responsive_blog/templates/page.tpl.php	(old)
+++ /sites/all/themes/responsive_blog/templates/page.tpl.php	(new)
@@ -66,7 +66,7 @@
 ?>
 <div id="wrapper">
   <header id="header" class="clearfix">
-    <?php if (theme_get_setting('image_logo','responsive_blog')): ?>
+    <?php if (theme_get_setting('image_logo')): ?>
       <?php if ($logo): ?><div id="site-logo"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>">
         <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
       </a></div><?php endif; ?>
@@ -80,12 +80,12 @@
         <?php if ($site_slogan): ?><h2 id="site-slogan"><?php print $site_slogan; ?></h2><?php endif; ?>
       </hgroup>
     <?php endif; ?>
-    <?php if (theme_get_setting('socialicon_display', 'responsive_blog')): ?>
+    <?php if (theme_get_setting('socialicon_display')): ?>
         <?php 
-        $twitter_url = check_plain(theme_get_setting('twitter_url', 'responsive_blog')); 
-        $facebook_url = check_plain(theme_get_setting('facebook_url', 'responsive_blog')); 
-        $google_plus_url = check_plain(theme_get_setting('google_plus_url', 'responsive_blog')); 
-        $pinterest_url = check_plain(theme_get_setting('pinterest_url', 'responsive_blog'));
+        $twitter_url = check_plain(theme_get_setting('twitter_url')); 
+        $facebook_url = check_plain(theme_get_setting('facebook_url')); 
+        $google_plus_url = check_plain(theme_get_setting('google_plus_url')); 
+        $pinterest_url = check_plain(theme_get_setting('pinterest_url'));
         ?>
       <div class="social-profile">
         <ul>
@@ -143,35 +143,35 @@
     <div id="primary">
       <section id="content" role="main">
         <?php if ($is_front): ?>
-        <?php if (theme_get_setting('slideshow_display','responsive_blog')): ?>
+        <?php if (theme_get_setting('slideshow_display')): ?>
         <?php 
-        $slide1_url = check_plain(theme_get_setting('slide1_url','responsive_blog'));
-        $slide2_url = check_plain(theme_get_setting('slide2_url','responsive_blog'));
-        $slide3_url = check_plain(theme_get_setting('slide3_url','responsive_blog'));
-        $slide1_desc = check_markup(theme_get_setting('slide1_desc', 'responsive_blog'), 'full_html'); 
-        $slide2_desc = check_markup(theme_get_setting('slide2_desc', 'responsive_blog'), 'full_html'); 
-        $slide3_desc = check_markup(theme_get_setting('slide3_desc', 'responsive_blog'), 'full_html'); 
+        $slide1_url = check_plain(theme_get_setting('slide1_url'));
+        $slide2_url = check_plain(theme_get_setting('slide2_url'));
+        $slide3_url = check_plain(theme_get_setting('slide3_url'));
+        $slide1_desc = check_markup(theme_get_setting('slide1_desc'), 'full_html'); 
+        $slide2_desc = check_markup(theme_get_setting('slide2_desc'), 'full_html'); 
+        $slide3_desc = check_markup(theme_get_setting('slide3_desc'), 'full_html'); 
         ?>
         <div id="slider">
           <div id="slider-wrap">
             <div class="slides displayblock">
-              <a href="<?php print url($slide1_url); ?>"><img width="644" height="320" src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-1.jpg'; ?>" class="pngfix"/></a>
+              <a href="<?php print url($slide1_url); ?>"><img width="644" height="320" src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-1.jpg') ? drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-1.jpg' : drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-1.jpg'; ?>" class="pngfix"/></a>
               <?php if($slide1_desc) { print '<div class="featured-text">' . $slide1_desc . '</div>'; } ?><!-- .featured-text -->
             </div> <!-- .slides -->
 
             <div class="slides displaynone">
-              <a href="<?php print url($slide2_url); ?>"><img width="644" height="320" src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-2.jpg'; ?>" class="pngfix"/></a>
+              <a href="<?php print url($slide2_url); ?>"><img width="644" height="320" src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-2.jpg') ? drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-2.jpg' : drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-2.jpg'; ?>" class="pngfix"/></a>
               <?php if($slide1_desc) { print '<div class="featured-text">' . $slide2_desc . '</div>'; } ?><!-- .featured-text -->
             </div> <!-- .slides -->
 
             <div class="slides displaynone">
-              <a href="<?php print url($slide3_url); ?>"><img width="644" height="320" src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-3.jpg'; ?>" class="pngfix"/></a>
+              <a href="<?php print url($slide3_url); ?>"><img width="644" height="320" src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-3.jpg') ? drupal_get_path('theme',$GLOBALS['theme']) . '/images/slide-image-3.jpg' : drupal_get_path('theme', 'responsive_blog') . '/images/slide-image-3.jpg'; ?>" class="pngfix"/></a>
               <?php if($slide1_desc) { print '<div class="featured-text">' . $slide3_desc . '</div>'; } ?><!-- .featured-text -->
             </div> <!-- .slides -->
           </div>
           <div id="nav-slider">
-            <div class="nav-previous"><img class="pngfix" src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/images/previous.png'; ?>" alt="next slide"></div>
-            <div class="nav-next"><img class="pngfix" src="<?php print base_path() . drupal_get_path('theme', 'responsive_blog') . '/images/next.png'; ?>" alt="next slide"></div>
+            <div class="nav-previous"><img class="pngfix" src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/images/previous.png') ? drupal_get_path('theme',$GLOBALS['theme']) . '/images/previous.png' : drupal_get_path('theme', 'responsive_blog') . '/images/previous.png'; ?>" alt="next slide"></div>
+            <div class="nav-next"><img class="pngfix" src="<?php print base_path(); ?><?php print file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/images/next.png') ? drupal_get_path('theme',$GLOBALS['theme']) . '/images/next.png' : drupal_get_path('theme', 'responsive_blog') . '/images/next.png'; ?>" alt="next slide"></div>
           </div>
         </div>
         <?php endif; ?>
Index: /sites/all/themes/responsive_blog/template.php
===================================================================
--- /sites/all/themes/responsive_blog/template.php	(old)
+++ /sites/all/themes/responsive_blog/template.php	(new)
@@ -26,16 +26,16 @@
 
 function responsive_blog_preprocess_html(&$vars) {
   // Add body classes for custom design options
-  $colors = theme_get_setting('color_scheme', 'responsive_blog');
+  $colors = theme_get_setting('color_scheme');
   $classes = explode(" ", $colors);
   for($i=0; $i<count($classes); $i++){
     $vars['classes_array'][] = $classes[$i];
   }
-  $sidebar_layout = theme_get_setting('sidebar_layout', 'responsive_blog');
+  $sidebar_layout = theme_get_setting('sidebar_layout');
   if($sidebar_layout == 'left_sidebar') {
     $vars['classes_array'][] = 'left-sidebar';
   }
-  $sidebar_width = theme_get_setting('sidebar_width', 'responsive_blog');
+  $sidebar_width = theme_get_setting('sidebar_width');
   if($sidebar_width == 'wide_sidebar') {
     $vars['classes_array'][] = 'wide-sidebar';
   }
@@ -127,14 +127,13 @@
 /**
  * Add css for color style.
  */
-if (theme_get_setting('color_scheme', 'responsive_blog') == 'dark') {
-  drupal_add_css(drupal_get_path('theme', 'responsive_blog') . '/css/color-schemes.css');
+if (theme_get_setting('color_scheme') == 'dark') {
+  drupal_add_css(file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/css/color-schemes.css') ? drupal_get_path('theme',$GLOBALS['theme']) . '/css/color-schemes.css' : drupal_get_path('theme', 'responsive_blog') . '/css/color-schemes.css');
 }
-
 /**
  * Add javascript files for front-page jquery slideshow.
  */
 if (drupal_is_front_page()) {
   drupal_add_js(drupal_get_path('theme', 'responsive_blog') . '/js/jquery.cycle.all.min.js');
-  drupal_add_js(drupal_get_path('theme', 'responsive_blog') . '/js/slide.js');
+  drupal_add_js(file_exists(drupal_get_path('theme',$GLOBALS['theme']) . '/js/slide.js') ? drupal_get_path('theme',$GLOBALS['theme']) . '/js/slide.js' : drupal_get_path('theme', 'responsive_blog') . '/js/slide.js');
 }
Index: /sites/all/themes/responsive_blog/theme-settings.php
===================================================================
--- /sites/all/themes/responsive_blog/theme-settings.php	(old)
+++ /sites/all/themes/responsive_blog/theme-settings.php	(new)
@@ -25,7 +25,7 @@
   $form['responsive_blog_settings']['color']['color_scheme'] = array(
     '#type'          => 'select',
     '#title'         => t('Color Scheme'),
-    '#default_value' => theme_get_setting('color_scheme', 'responsive_blog'),
+    '#default_value' => theme_get_setting('color_scheme'),
     '#description'   => t('Select a predesigned color scheme.'),
     '#options'       => array(
       'white' => t('White'),
@@ -42,7 +42,7 @@
   $form['responsive_blog_settings']['layout']['sidebar_layout'] = array(
     '#type'          => 'select',
     '#title'         => t('Sidebar'),
-    '#default_value' => theme_get_setting('sidebar_layout', 'responsive_blog'),
+    '#default_value' => theme_get_setting('sidebar_layout'),
     '#description'   => t('Select a layout for the Sidebar to be displayed (Right hand side or Left hand side).'),
     '#options'       => array(
       'right_sidebar' => t('Right Sidebar'),
@@ -52,7 +52,7 @@
   $form['responsive_blog_settings']['layout']['sidebar_width'] = array(
     '#type'          => 'select',
     '#title'         => t('Sidebar Width'),
-    '#default_value' => theme_get_setting('sidebar_width', 'responsive_blog'),
+    '#default_value' => theme_get_setting('sidebar_width'),
     '#description'   => t('Select the width of the Sidebar. (Narrow or Wide)'),
     '#options'       => array(
       'narrow_sidebar' => t('Narrow Sidebar'),
@@ -62,13 +62,13 @@
   $form['responsive_blog_settings']['image_logo'] = array(
     '#type' => 'checkbox',
     '#title' => t('Show <strong>Image Logo</strong> instead of text logo in a page'),
-    '#default_value' => theme_get_setting('image_logo','responsive_blog'),
+    '#default_value' => theme_get_setting('image_logo'),
     '#description'   => t("Check this option to show Image Logo in page. Uncheck to show the text logo."),
   );
   $form['responsive_blog_settings']['breadcrumbs'] = array(
     '#type' => 'checkbox',
     '#title' => t('Show breadcrumbs in a page'),
-    '#default_value' => theme_get_setting('breadcrumbs','responsive_blog'),
+    '#default_value' => theme_get_setting('breadcrumbs'),
     '#description'   => t("Check this option to show breadcrumbs in page. Uncheck to hide."),
   );
   $form['responsive_blog_settings']['slideshow'] = array(
@@ -80,7 +80,7 @@
   $form['responsive_blog_settings']['slideshow']['slideshow_display'] = array(
     '#type' => 'checkbox',
     '#title' => t('Show slideshow'),
-    '#default_value' => theme_get_setting('slideshow_display','responsive_blog'),
+    '#default_value' => theme_get_setting('slideshow_display'),
     '#description'   => t("Check this option to show Slideshow in front page. Uncheck to hide."),
   );
   $form['responsive_blog_settings']['slideshow']['slide'] = array(
@@ -93,12 +93,12 @@
   $form['responsive_blog_settings']['slideshow']['slide1']['slide1_desc'] = array(
     '#type' => 'textarea',
     '#title' => t('Slide Description'),
-    '#default_value' => theme_get_setting('slide1_desc','responsive_blog'),
+    '#default_value' => theme_get_setting('slide1_desc'),
   );
   $form['responsive_blog_settings']['slideshow']['slide1']['slide1_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Slide URL'),
-    '#default_value' => theme_get_setting('slide1_url','responsive_blog'),
+    '#default_value' => theme_get_setting('slide1_url'),
   );
   $form['responsive_blog_settings']['slideshow']['slide2'] = array(
     '#type' => 'fieldset',
@@ -107,12 +107,12 @@
   $form['responsive_blog_settings']['slideshow']['slide2']['slide2_desc'] = array(
     '#type' => 'textarea',
     '#title' => t('Slide Description'),
-    '#default_value' => theme_get_setting('slide2_desc','responsive_blog'),
+    '#default_value' => theme_get_setting('slide2_desc'),
   );
   $form['responsive_blog_settings']['slideshow']['slide2']['slide2_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Slide URL'),
-    '#default_value' => theme_get_setting('slide2_url','responsive_blog'),
+    '#default_value' => theme_get_setting('slide2_url'),
   );
   $form['responsive_blog_settings']['slideshow']['slide3'] = array(
     '#type' => 'fieldset',
@@ -121,12 +121,12 @@
   $form['responsive_blog_settings']['slideshow']['slide3']['slide3_desc'] = array(
     '#type' => 'textarea',
     '#title' => t('Slide Description'),
-    '#default_value' => theme_get_setting('slide3_desc','responsive_blog'),
+    '#default_value' => theme_get_setting('slide3_desc'),
   );
   $form['responsive_blog_settings']['slideshow']['slide3']['slide3_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Slide URL'),
-    '#default_value' => theme_get_setting('slide3_url','responsive_blog'),
+    '#default_value' => theme_get_setting('slide3_url'),
   );
   $form['responsive_blog_settings']['slideshow']['slideimage'] = array(
     '#markup' => t('To change the Slide Images, Replace the slide-image-1.jpg, slide-image-2.jpg and slide-image-3.jpg in the images folder of the theme folder.'),
@@ -140,31 +140,31 @@
   $form['responsive_blog_settings']['socialicon']['socialicon_display'] = array(
     '#type' => 'checkbox',
     '#title' => t('Show Social Icon'),
-    '#default_value' => theme_get_setting('socialicon_display','responsive_blog'),
+    '#default_value' => theme_get_setting('socialicon_display'),
     '#description'   => t("Check this option to show Social Icon. Uncheck to hide."),
   );
   $form['responsive_blog_settings']['socialicon']['twitter_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Twitter Profile URL'),
-    '#default_value' => theme_get_setting('twitter_url', 'responsive_blog'),
+    '#default_value' => theme_get_setting('twitter_url'),
     '#description'   => t("Enter your Twitter Profile URL. Leave blank to hide."),
   );
   $form['responsive_blog_settings']['socialicon']['facebook_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Facebook Profile URL'),
-    '#default_value' => theme_get_setting('facebook_url', 'responsive_blog'),
+    '#default_value' => theme_get_setting('facebook_url'),
     '#description'   => t("Enter your Facebook Profile URL. Leave blank to hide."),
   );
   $form['responsive_blog_settings']['socialicon']['google_plus_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Google Plus Address'),
-    '#default_value' => theme_get_setting('google_plus_url', 'responsive_blog'),
+    '#default_value' => theme_get_setting('google_plus_url'),
     '#description'   => t("Enter your Google Plus URL. Leave blank to hide."),
   );
   $form['responsive_blog_settings']['socialicon']['pinterest_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Pinterest Address'),
-    '#default_value' => theme_get_setting('pinterest_url', 'responsive_blog'),
+    '#default_value' => theme_get_setting('pinterest_url'),
     '#description'   => t("Enter your Pinterest URL. Leave blank to hide."),
   );
 }
