Site logo

Archived topic

Hook Dropdown link

1 reply · Started by Patrick on June 15, 2016

Viewing posts 1–2 of 2

Hi Tom,

i like to use the hook plugin so set an link to the top of the page. This link should be an toggle which opens some mor links. could you please told me how I can do this?

within bootstrap it works with such lines:

        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>

I need a solution outside of the normal wordpress menu. it should be work like the Howdy user Option from the wordpress adminbar, but it should not bee the wordpress adminbar :)

Hope you can help me.

Thanks and regards patrick

Hi there,

You'll need to find some jQuery/Javascript which will make the links function.

If you Google "simple jquery dropdown click" you'll find tons of resources out there which should help you :)

This archived topic is closed to new replies.