Widgets not expanding on wordpress 3.3 widget dashbord

I updated to WordPress 3.3 (manual update) and cleaned browser cache. Widgets dashbord stop working when tring to expand dynamic sidebars for custom theme when it works for previous wordpress 3.2 installation (using register sidebar on functions.php) I have tried to install Hotfix 0.8 exension and now it works for twentyten theme but not for … Read more

Insert Widget option into mark-up with register_sidebar

I have added a custom field to my all widgets in my theme, called “custom-title”. I have managed to save the field into the database for each widget, like so: s:12:”custom-title”;s:17:”HELLO TEST ANCHOR” I want to use this to add a data-attribute “custom-title” to the mark-up for each widget, on the before_widget argument. I want … Read more

Removing custom widget area WordPress 4.4 [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 5 … Read more

duplicate sidebar

I have a problem with a sidebar. I have 4 sidebars: “Essential”, “Essential+”, “Premier” and “Premier+”. register_sidebar( array( ‘name’ => __(‘Essential Plan’), ‘before_widget’ => ‘<ul>’, ‘after_widget’ => ‘</ul>’, ‘before_title’ => ”, ‘after_title’ => ” ) ); register_sidebar( array( ‘name’ => __(‘Premier Plan’), ‘before_widget’ => ‘<ul>’, ‘after_widget’ => ‘</ul>’, ‘before_title’ => ”, ‘after_title’ => ” ) … Read more

Best practices: Custom theme sidebar menu – hardcode or widget?

Is it best to hardcode a sidebar menu using functions.php or sidebar.php OR use the custom menu widget? Are there times when each is appropriate? 1 Answer 1 To some degree, the answer depends on the intended use of the sidebar menu, but in general, it is best to allow the greatest degree of freedom … Read more

Registering multiple sidebars with data from an array

I am attempting to dynamically register sidebars for certain pages. The pages must meet the following criteria: be published be a page (not a post) use the template ‘template-generic-sidebar’ In my functions.php I have created a short script using get_pages() which get a list of all pages. It counts how many of these pages match … Read more