Replacing static code in a template file with a sidebar and widgets?

To speak generally, you need to define a sidebar for your theme (sidebars contain widgets) and display that sidebar in your template. In your theme’s functions.php file, register a dynamic sidebar using register_sidebar() Create a sidebar.php file in your theme directory that calls dynamic_sidebar() Make sure your other template files (or header.php/footer.php if that is … Read more

How to show WordPress Dashboard Widgets on Frontend?

After trying to build dashboard functionality on the “frontend” of a site, the WPMU multi-site alternative was to seriously minimize, strip-down, and customize a template for the user type that required that functionality. They login directly to the dashboard, or can be linked their from their account page when logging in. Everything you described is … Read more

How to add a widget area between blog posts in Genesis Framework?

This thread – http://wordpress.org/support/topic/how-to-put-adsense-after-first-topic – explains how to add something after the first post so I would assume you could change the 1 to a 3 to have it display after the third? And this page explains how to add a widgetized area: http://quirm.net/2011/09/15/widgetizing-any-page/ So you would put the php for the dynamic sidebar where … Read more

Using AJAX in a Widget to Sort items [closed]

The script you are loading will apply the sortable to all elements with the .mywidget-list class just after the document has loaded. Once you drop your widget inside a sidebar, a new .mywidget-list element is created trough $.ajax, which cannot have your sortable function attached to it, because it’s new. If you save the widget, … Read more

Add a twitter feed to my WordPress website

If you have a widget area assigned at the left hand side, then there are many plugins for the purpose: Mini Twitter Feed WD Twitter Feed Twitter Feed Widget Tweet Tweet Feed Super Simple Twitter Feed Really Simple Twitter Feed Widget Twitter Feed: Embedded Timeline WordPress Plugin Just install any of them from Plugins > … Read more

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