Title: Button Groups and Administration Panel
Last modified: August 21, 2016

---

# Button Groups and Administration Panel

 *  Resolved [peregrinlightfoot](https://wordpress.org/support/users/peregrinlightfoot/)
 * (@peregrinlightfoot)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/button-groups-and-administration-panel/)
 * I’m trying to place a group of Split button dropdowns inside a metabox in the
   edit/new post screen.
 * I’ve placed the first but when I click it, it only reloads the page.
 * here is my code:
 *     ```
       <div class="bootstrap-wpadmin">
       <div class="btn-group">
                           <button class="btn">Action</button>
                           <button class="btn dropdown-toggle" data-toggle="dropdown">
                           <span class="caret"></span>
                           </button>
                           <ul class="dropdown-menu">
                           <li><a tabindex="-1" href="#">Action</a></li>
                               <li><a tabindex="-1" href="#">Another action</a></li>
                               <li><a tabindex="-1" href="#">Something else here</a></li>
                               <li class="divider"></li>
                               <li><a tabindex="-1" href="#">Separated link</a></li>
                           </ul>
                           </div>
       </div>
       ```
   
 * Any ideas why I don’t have the default behavior?
 * [http://wordpress.org/extend/plugins/wordpress-bootstrap-css/](http://wordpress.org/extend/plugins/wordpress-bootstrap-css/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/button-groups-and-administration-panel/#post-3644569)
 * I think the problem here is Javascript… we don’t actually include the Bootstrap
   javascript with the admin bootstrap option.
 * I’ll add this to the next release. Though, I can’t promise you wont have problem
   with doing that, and that it’ll work. We added this option initial so that we
   would have the CSS bootstrap styling options.
 * I’ll do it, and you can see what you think and let me know if it works. How’s
   that?
    Cheers, Paul.
 *  Thread Starter [peregrinlightfoot](https://wordpress.org/support/users/peregrinlightfoot/)
 * (@peregrinlightfoot)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/button-groups-and-administration-panel/#post-3644587)
 * I’ve imported javascript into the administration:
    `<script type="text/javascript"
   src="path/to/bootstrap.min.js"></script>`
 * And It appears to be working.
    If some problem comes up, I’ll post it here.
 * Thanks
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/button-groups-and-administration-panel/#post-3644626)
 * Good to hear! I’ll add it anyway to the next release.
 * Thanks for updating me with your results.
    Cheers, Paul.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Button Groups and Administration Panel’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-bootstrap-css_d0f2fd.svg)
 * [Twitter Bootstrap for WordPress](https://wordpress.org/plugins/wordpress-bootstrap-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-bootstrap-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-bootstrap-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-bootstrap-css/reviews/)

## Tags

 * [administration](https://wordpress.org/support/topic-tag/administration/)
 * [button](https://wordpress.org/support/topic-tag/button/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [group](https://wordpress.org/support/topic-tag/group/)

 * 3 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/button-groups-and-administration-panel/#post-3644626)
 * Status: resolved