Title: Using widgets removes hard coded theme (plugin) sidebar objects
Last modified: August 19, 2016

---

# Using widgets removes hard coded theme (plugin) sidebar objects

 *  [jazzi](https://wordpress.org/support/users/jazzi/)
 * (@jazzi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-widgets-removes-hard-coded-theme-plugin-sidebar-objects/)
 * Hi All
 * So far, I have been manually entering code from plugins to the “sidebar.php” 
   file of my current theme (silveray). Anyway, since I am just testing things, 
   I decided try using a widget and dragged it to the right sidebar. This action
   displayed the widget in the sidebar as expected but it also caused the other 
   objects (blocks/modules for example Meta, Categories, Pages, etc) or whatever
   they are called in WordPress to disappear. It appears that widgets cannot be 
   used with hard-coded theme sidebar items.
 * Is this normal in WordPress? How can this be addressed? Is there a way to have
   both widgets and hard-coded sidebar objects.

The topic ‘Using widgets removes hard coded theme (plugin) sidebar objects’ is closed
to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [jazzi](https://wordpress.org/support/users/jazzi/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/using-widgets-removes-hard-coded-theme-plugin-sidebar-objects/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
