Can’t remove a widget from admin

I suggest trying to reset your widgets running this code from your functions.php update_option( ‘sidebars_widgets’, $null ); WARNING: this will totally reset your plugins so make sure you save any widget data/settings you need. [Source] The source article also list a plugin/ and better instructions.

how to enable full width page template in woo theme memorable?

on http://www.southalgonquincottages.com/wp-content/themes/memorable/css/layout.css (line 480) change #main { width: 74%; } to #main { width: auto; } on http://www.southalgonquincottages.com/wp-content/themes/memorable/css/layout.css (line 473) #main.fullwidth, .layout-full #main, .col-full { margin: 0 auto; max-width: 1140px; <– REMOVE THIS CODE SNIPPET width: 100%; } it should be #main.fullwidth, .layout-full #main, .col-full { margin: 0 auto; width: 100%; }

Widget does not work with WooCommerce enabled

Woocommerce already has a widget called best_sellers, which is conflicting with the name you’re using, and it’s making your widget use the Woocommerce widget update function. Since that one also has a field called title, that field is still saving. Add in a prefix to best_sellers in your construct function to fix the problem: public … Read more

Putting a URL, for a preview, in a side bar

Simply placing a url isn’t going to embed a webpage within a webpage. You could use an iframe. <iframe src=”http://yoururl”></iframe> To display the page content from that url. You could also capture the page via php and scrape it for the information you need but you would have to create a custom widget for this. … Read more

Database size Widget

Add the following code to your widget code: function fileSizeInfo($filesize) { $bytes = array(‘KB’, ‘KB’, ‘MB’, ‘GB’, ‘TB’); if ($filesize < 1024) $filesize = 1; for ($i = 0; $filesize > 1024; $i++) $filesize /= 1024; $dbSizeInfo[‘size’] = round($filesize, 3); $dbSizeInfo[‘type’] = $bytes[$i]; return $dbSizeInfo; } function databaseSize() { global $wpdb; $dbsize = 0; $rows … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)