Title: Disappearing Widgets
Last modified: August 19, 2016

---

# Disappearing Widgets

 *  [caracasa](https://wordpress.org/support/users/caracasa/)
 * (@caracasa)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/)
 * Hi everyone,
 * my widgets settings keep disappearing. Whenever I enter the widget-page in the
   backend my two sidebars are empty, although the widgets are still visible in 
   the frontend. When I now add a new widget, all widgets except the new one are
   wiped from the frontend.
 * So I assume, wordpress fails to load the existing widgets in the backend.
 * I am currently modifying my own Theme and have renamed and altered my sidebars
   when this suddenly happened. A few minutes before all widgets of a deleted Sidebar
   were moved to the “save-area” – maybe this was the point where things went bad.
 * I could not find a bug-report regarding this issue.
 * Any ideas how I broke my wordpress? Help! 😉

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557245)
 * Try decativating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Ten theme to 
   rule-out a theme-specific issue.
 *  Thread Starter [caracasa](https://wordpress.org/support/users/caracasa/)
 * (@caracasa)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557263)
 * I switched to Twenty Ten, played with the widgets and went back to my theme.
    - Switching the Theme resets every ever added widget to the inactive pane. It
      listed the lost widgets of all my former attempts.
    - Using Twenty Ten everything works fine.
 * Disabling all plugins changed nothing, but exposed some plugin-function-calls
   without a working fallback. Thanks for that. 🙂
 * **But the problem still exists and is spectific to my own theme.**
 * widget-section in functions.php
 *     ```
       add_action( 'widgets_init', 'caracasa_theme_widgets_init' );
   
       [...]
   
       if ( ! function_exists( 'caracasa_theme_widgets_init' ) ):
       function caracasa_theme_widgets_init() {
   
       	register_sidebar( array(
       		'name' => 'profile',
       		'id' => 'Sidebar-Profile',
       		'description' => 'Profile',
       		'before_widget' => '<div class="MenuBox">',
       		'after_widget' => '</div>',
       		'before_title' => '<div class="MenuTitle">',
       		'after_title' => '</div>',
       	) );  
   
       	register_sidebar(array(
       		'name' => 'standard',
       		'id' => 'Sidebar-Standard',
       		'description' => 'Sidebar',
       		'before_widget' => '<div class="MenuBox">',
       		'after_widget' => '</div>',
       		'before_title' => '<div class="MenuTitle">',
       		'after_title' => '</div>',
       	));
       }
       endif;
       ```
   
 * Somewhere in my header.php:
 *     ```
       <?php get_sidebar('profile'); ?>
       		<?php get_sidebar('standard'); ?>
       ```
   
 * And my sidebar-_ABC_.php
 *     ```
       <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('<em>ABC</em>') ) : ?>
       <?php endif; ?>
       ```
   
 * Is there something wrong with these lines?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557267)
 * Try:
 *     ```
       <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('standard') ) : ?>
       <?php endif; ?>
       ```
   
 *  Thread Starter [caracasa](https://wordpress.org/support/users/caracasa/)
 * (@caracasa)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557270)
 * _ABC_ is just a placeholder.
 * In sidebar-standard.php and sidebar-profile.php are the correct names of the 
   registered sidebars.
 * My fault.
 *  [klamoureux](https://wordpress.org/support/users/klamoureux/)
 * (@klamoureux)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557652)
 * was this ever resolved? i am experiencing the exact same issue

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

The topic ‘Disappearing Widgets’ is closed to new replies.

## Tags

 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [disappearing](https://wordpress.org/support/topic-tag/disappearing/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [klamoureux](https://wordpress.org/support/users/klamoureux/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/disappearing-widgets-2/#post-1557652)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
