Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin - Side menu current class
#1
Hi guys,

In the admin side I have 2 side menu buttons on a new tab I created. When you click on the tab the first function is displayed but the button associated to that function is not highlighted. I want the first button to be highlighted.

For example when you click on the pages tab the first side menu button is highlighted.

I want to do this to my plugin's tab.
Can anyone help me?
Reply
#2
I think this is based on the action matching the I'd or something I'd have to look again.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2013-05-12, 03:50:48)shawn_a Wrote: I think this is based on the action matching the I'd or something I'd have to look again.

I figured it out. The add_action calls for the tab and side menu needed to have the same action parameter names.

Thanks though.
Reply
#4
Maybe you can explain how you did it? Thanx
Reply




Users browsing this thread: 1 Guest(s)