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?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Button Groups and Administration Panel’ is closed to new replies.