Title: Can&#039;t remove custom sidebar widget
Last modified: August 20, 2016

---

# Can't remove custom sidebar widget

 *  Resolved [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/)
 * I’m trying to help a friend with his new blog, and I can’t seem to figure out
   what he did here.
 * He’s not too computer savvy so I offered help, but this is even stumping me. 
   Basically he’s got a custom html sidebar widget that appears only on the blog
   posts. He wants to remove it, but doesn’t remember how he got it there in the
   first place.
 * I figured this would be easy enough, but I actually can’t find it. I’ve got full
   access to the site, so I’m looking everywhere, but I have no idea how this thing
   is appearing.
 * I assumed it was done using the text widget, but when I look in the widget list,
   it’s not included in the sidebar. I went in the editor and looked through the
   obvious php files, but found nothing. I couldn’t think of a better way, so I 
   downloaded a backup of the whole site and used a file renaming utility to rename
   everything to txt files so that I could search the code within them. Still turned
   up nothing.
 * What the heck am I missing? Not sure what other info I could provide that might
   help.
 * Any ideas??

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/page/2/?output_format=md)

 *  [timkeay](https://wordpress.org/support/users/timkeay/)
 * (@timkeay)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467237)
 * Functions file? Or maybe a sidebar widget coded as a plugin? Or hard-coded into
   the sidebar.php file?
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467241)
 * Yeah hardcoded is the first thing I thought of when it didn’t show up in the 
   widgets list. He’s using Thesis, so I first looked in the custom files, since
   those would likely be the only ones changed…but when there wasn’t anything out
   of the ordinary there, I started going through others. Like I was saying, I got
   so desperate I started to change all the file extensions to txt so I could search
   the code within the files, but I’ve still turned up nothing.
 * And I’m almost positive it doesn’t have anything to do with plugins because there
   aren’t any even active that would be close to that. Most of the plugins are just
   security ones. The closest thing would be “Shortcode Exec PHP”, which I wouldn’t
   think would be it, but I deactivated it anyway…still there.
 * Is there a better way to search for the widget code in the website files?
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467308)
 * Another thing is, if you look at the source code for the page as it’s displayed,
   it shows up labeled as a multimedia box…
 *     ```
       <div id="sidebars">
       			<div id="multimedia_box" class="custom_box">
       				<div id="custom_box">
       <center><object classid=".......
       ```
   
 * And he has the multimedia box enabled as a sidebar, but it’s empty in the widgets
   list. And on the Design Options page in the Thesis installation, both the Multimedia
   Box and the Feature Box are disabled.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467310)
 * Have you tried firefly or developer tools to maybe identify where it is coming
   from.
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467317)
 * Well, technically there isn’t a problem. We just don’t want the widget there 
   anymore and want to remove the code. But I can’t find the dang thing anywhere.
 * I can’t figure out how he got it there or how it’s even appearing
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467319)
 * URL please.
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467330)
 * [http://thinksy.elementfx.com/blog/](http://thinksy.elementfx.com/blog/)
 * It’s the animated “superbomb” widget there. You’ll see it appears only on post/
   archive pages.
 * He said he actually set it that way on purpose…as in he was actually able to 
   insert the code (somewhere) and set (or code) the properties for what kind of
   pages it appeared on.
 * But like I said, I can’t figure out how he did this, or even where this thing
   is within the website.
 * Is there a practical way to find it?
 *  [joeysimon](https://wordpress.org/support/users/joeysimon/)
 * (@joeysimon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467355)
 * How exactly do you know what you’re looking for code-wise? When you run your 
   search, what are you searching for exactly?
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467367)
 * He had a link to where the widget code came from, so I was hunting for that:
 * [http://www.tomwoods.com/superpac-superbomb-widget/](http://www.tomwoods.com/superpac-superbomb-widget/)
 * But like I said, I’ve looked all through the site files and can’t find it, and
   it’s not there in the widget list. How else might I search?
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467369)
 * [http://www.tomwoods.com/superpac-superbomb-widget/](http://www.tomwoods.com/superpac-superbomb-widget/)
   shows the following code
 *     ```
       <center><object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0″ width=”200″ height=”390″ id=”countdown” align=”middle”>
        <param name=”allowScriptAccess” value=”sameDomain” />
        <param name=”movie” value=”http://www.revolutionpac.com/widget_small.swf” /><param name=”quality” value=”high” /><param name=”bgcolor” value=”#ffffff” /><embed src=”http://www.revolutionpac.com/widget_small.swf” quality=”high” bgcolor=”#ffffff” width=”200″ height=”390″ name=”countdown” align=”middle” allowScriptAccess=”sameDomain” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
        </object></center>
       ```
   
 * So do a search of the site looking for “getflashplayer” or “revolutionpac”
 *  [joeysimon](https://wordpress.org/support/users/joeysimon/)
 * (@joeysimon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467372)
 * kmessinger I could be wrong on this but it sounds like that’s what he was already
   doing.
 * tbonees, if that’s the case, and you’ve checked through all the website files
   and haven’t found that code, that means the only other place it could be is the
   database. That would mean it’s not hardcoded into the site, but rather a data
   entry somewhere…
 * I know you said the Multimedia Box is disabled, but go back in the design options
   and switch it to “custom code”. My guess is that’s where it is.
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467373)
 * It may be one of those “dynamic sidebar” things, Like the way some themes have
   default widgets until you put something else in the sidebar, but I’m guessing
   you already added your own widgets and the suprebomb remains…?
    In an case, put
   this in your style.css and it will go away.
 *     ```
       #multimedia_box {
           display: none;
       }
       ```
   
 *  Thread Starter [tbonees](https://wordpress.org/support/users/tbonees/)
 * (@tbonees)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467374)
 * Holy crap Joey! That’s it!
 * How the hell did you know that?
 *  [joeysimon](https://wordpress.org/support/users/joeysimon/)
 * (@joeysimon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467378)
 * Well if you look at the source code for the blog page where the widget appears,
   it does put it in a multimedia box div (which you actually pointed out)…but also
   notice how it’s a “custom box” class.
 * My guess is that’s how he was able to make it only appear on the blog pages: 
   the code was entered in the custom box field of the multimedia box, and then 
   the mmbox was turned off…
 * I bet if you look in the custom functions.php there’s some code in there instructing
   the site to display the mmbox if the entry is of a “post” type.
 * Pretty slick, actually.
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/#post-2467380)
 * good call joeysimon! a conditional multimedia box.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/page/2/?output_format=md)

The topic ‘Can't remove custom sidebar widget’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [Thesis](https://wordpress.org/support/topic-tag/thesis/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 5 participants
 * Last reply from: [tbonees](https://wordpress.org/support/users/tbonees/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/cant-remove-custom-sidebar-widget/page/2/#post-2467381)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
