Help With Frozen Widget
-
I put an advertisement widget in the 2nd footer position of my arcade games site and loaded some javascript into the content box to run an ad. The ad looked bad, and when I went back to the widget area to remove the widget, I found that the widget controls are all missing and the widget itself is “frozen”. If I strip the code out of the content box, there is no way to save the change. All the widget controls appear to have been turned into code within the content box. Also, the “screen options”, “help” and “Howdy (my username)” buttons on the widget page are not working at all. I guess I’m lucky because the rest of the widgets are still working, but I’d like to fix this by getting rid of the widget in the 2nd footer position. I stripped the 2nd footer out of the sidebar-footer php so that the ad doesn’t show onscreen, but this doesn’t solve the problem. Does anyone have any suggestions? This is what the code in the widget content box looks like now: I’m not a WP programmer, but I can see that the first part of the coding is for the ad, and the rest appears to be the coding for the controls of the widget. Any help will be greatly appreciated!
Coding in my widget content box:
<!– Begin: WPI Linkexchange –>
<link rel=”stylesheet” type=”text/css” href=”https://www.webpromotioninc.com/wpi_css.css” />
<script type=”text/javascript” src=”https://www.webpromotioninc.com/exchjs.php?lid=298613″></script>
<!– End: WPI Linkexchange </textarea>
</label>
</p></div>
<p class=”describe”>Select both the sidebar for this widget and the position of the widget in that sidebar.</p>
<div class=”widget-position”>
<table class=”widefat”><thead><tr><th>Sidebar</th><th>Position</th></tr></thead><tbody>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’home-sidebar’ /> Home Sidebar</label></td><td> <select name=’home-sidebar_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
<option value=’2′> 2 </option>
<option value=’3′> 3 </option>
<option value=’4′> 4 </option>
<option value=’5′> 5 </option>
<option value=’6′> 6 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’single-sidebar’ /> Single Sidebar</label></td><td> <select name=’single-sidebar_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
<option value=’2′> 2 </option>
<option value=’3′> 3 </option>
<option value=’4′> 4 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’page-sidebar’ /> Page Sidebar</label></td><td> <select name=’page-sidebar_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
<option value=’2′> 2 </option>
<option value=’3′> 3 </option>
<option value=’4′> 4 </option>
<option value=’5′> 5 </option>
<option value=’6′> 6 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’category-sidebar’ /> Category Sidebar</label></td><td> <select name=’category-sidebar_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
<option value=’2′> 2 </option>
<option value=’3′> 3 </option>
<option value=’4′> 4 </option>
<option value=’5′> 5 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’first-footer-widget-area’ /> First Footer Widget Area</label></td><td> <select name=’first-footer-widget-area_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
<option value=’2′> 2 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’second-footer-widget-area’ checked=’checked’ /> Second Footer Widget Area</label></td><td> <select name=’second-footer-widget-area_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’third-footer-widget-area’ /> Third Footer Widget Area</label></td><td> <select name=’third-footer-widget-area_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’fourth-footer-widget-area’ /> Fourth Footer Widget Area</label></td><td> <select name=’fourth-footer-widget-area_position’>
<option value=”>— Select —</option>
<option value=’1′> 1 </option>
</select>
</td></tr>
<tr><td><label><input type=’radio’ name=’sidebar’ value=’wp_inactive_widgets’ /> Inactive Widgets</label></td><td> </td></tr>
</tbody></table>
</div><div class=”widget-control-actions”>
<input type=”submit” name=”removewidget” id=”removewidget” class=”button alignleft” value=”Delete” /><input type=”submit” name=”savewidget” id=”savewidget” class=”button-primary alignright” value=”Save Widget” /> <input type=”hidden” name=”widget-id” class=”widget-id” value=”mabp_advertisement-2″ />
<input type=”hidden” name=”id_base” class=”id_base” value=”mabp_advertisement” />
<input type=”hidden” name=”multi_number” class=”multi_number” value=”2″ />
<input type=”hidden” id=”_wpnonce” name=”_wpnonce” value=”942b7e1756″ /><input type=”hidden” name=”_wp_http_referer” value=”/wp-admin/widgets.php?editwidget=mabp_advertisement-2&sidebar=second-footer-widget-area&key=1″ /> <br class=”clear” />
</div>
</form>
</div>
</div><div class=”clear”></div></div><!– wpbody-content –>
<div class=”clear”></div></div><!– wpbody –>
<div class=”clear”></div></div><!– wpcontent –><div id=”footer”>
<p id=”footer-left” class=”alignleft”><span id=”footer-thankyou”>Thank you for creating with WordPress.</span> ? Documentation ? Freedoms ? Feedback ? Credits</p>
<p id=”footer-upgrade” class=”alignright”>Version 3.2.1</p>
<div class=”clear”></div>
</div>
<script type=’text/javascript’>
/* <![CDATA[ */
var commonL10n = {
warnDelete: “You are about to permanently delete the selected items.\n \’Cancel\’ to stop, \’OK\’ to delete.”
};
try{convertEntities(commonL10n);}catch(e){};
var thickboxL10n = {
next: “Next >”,
prev: “< Prev”,
image: “Image”,
of: “of”,
close: “Close”,
noiframes: “This feature requires inline frames. You have iframes disabled or your browser does not support them.”,
loadingAnimation: “https://inet-arcade.com/wp-includes/js/thickbox/loadingAnimation.gif”,
closeImage: “https://inet-arcade.com/wp-includes/js/thickbox/tb-close.png”
};
try{convertEntities(thickboxL10n);}catch(e){};
/* ]]> */
</script>
<script type=’text/javascript’ src=’https://inet-arcade.com/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color,thickbox&ver=1a49e29ac3263c9f4814ae01b4ddda03′></script><div class=”clear”></div></div><!– wpwrap –>
<script type=”text/javascript”>if(typeof wpOnload==’function’)wpOnload();</script>
</body>
</html>
- The topic ‘Help With Frozen Widget’ is closed to new replies.