Last active
December 23, 2015 01:49
-
-
Save cassler/6563132 to your computer and use it in GitHub Desktop.
Wordpress > Dynamic sidebar generator and selector UI.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
remove this code
add_action('admin_head', 'sidebar_css'); function sidebar_css() { echo' <style type="text/css"> .sidebar-selection{width:100%;} </style> '; }
and replace "sidebar-selection" class with "widefat" in this line
echo '<select name="link" class="sidebar-selection">';