Title: Using Dashboard Widget overides sidebar.php code?
Last modified: August 19, 2016

---

# Using Dashboard Widget overides sidebar.php code?

 *  Resolved [gittyup](https://wordpress.org/support/users/gittyup/)
 * (@gittyup)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-dashboard-widget-overides-sidebarphp-code/)
 * I used the Dashboard-> appearance-> widget to add some plugins to my sidebar.
   After I did that my google custom search box and subscribe button disappeared!
   I looked at the code in the sidebar.php and the original code that was once displayed
   on my site within the sidebar is still there but seems to be being ignored?
 * How does the Dashboard -> Appearance -> Widget work? Where can I go ‘see’ the
   code? I want to replace the items that got removed, overlayed or ignored?
 * I don’t understand the mechanics of this function enough to find my answer. It
   seems to be a WP software function, but why did it behave this way?
 * As a work around this until I can find out the ‘what happened and why’, I moved
   my search box and subscribe button to a new location. I would like to be able
   to have it where it ‘once’ was if at all possible.
 * Thank you for taking the time to read this and hopefully be able to explain this
   🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-dashboard-widget-overides-sidebarphp-code/#post-962407)
 * I recently switched my theme to [inove](http://wordpress.org/extend/themes/inove)
   and had the _opposite _ thing happen… I set up my widgets and the rss feed at
   the top of my sidebar **stayed put**!
 * The theme’s creator was able to accomplish this by putting the call to the: `
   if ( !function_exists('dynamic_sidebar') )` conditional statement lower in sidebar.
   php. You can probably add you google code + button back to the top of sidebar.
   php and add the `if ( !function_exists('dynamic_sidebar') )` somewhere below 
   it.
 *  Thread Starter [gittyup](https://wordpress.org/support/users/gittyup/)
 * (@gittyup)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-dashboard-widget-overides-sidebarphp-code/#post-962543)
 * mfields!! THANK YOU!!! I added my google box and button above the code and it
   is all back! I am so happy and very greatful for your help 😀
 * Cheers!
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-dashboard-widget-overides-sidebarphp-code/#post-962560)
 * You’re Welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using Dashboard Widget overides sidebar.php code?’ is closed to new replies.

## Tags

 * [appearance](https://wordpress.org/support/topic-tag/appearance/)
 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [sidebar.php](https://wordpress.org/support/topic-tag/sidebar-php/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Fields](https://wordpress.org/support/users/mfields/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/using-dashboard-widget-overides-sidebarphp-code/#post-962560)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
