• Hi,

    How would you go about creating a button in the admin toolbar that will drop down a new panel when clicked, just above the header area, it would push the header area down when the link in the toolbar is clicked. The menu item would act as open/close button for the panel.

    I’d like to add a shortcode or plugin into the panel for a live chat feature

    Thanks in advance

Viewing 1 replies (of 1 total)
  • I’d look at using JavaScript to inject your button element inside the DOM where you need it. Then add an event listener to that button to trigger the panel to reveal/hide when the button is toggled. Research JavaScript and DOM manipulation.

Viewing 1 replies (of 1 total)

The topic ‘Create a drop-down panel with open/close button in admin toolbar’ is closed to new replies.