[wp-hackers] Admin Menu Active Item
Ryan Bilesky
rbilesky at gmail.com
Mon Feb 28 11:02:01 UTC 2011
Its the same page the value of $_GET['page'] is the same, i have a custom
query var called act that determains what to show.
On Mon, Feb 28, 2011 at 2:55 AM, ampt <notfornoone at gmail.com> wrote:
> On 28 February 2011 21:41, Ryan Bilesky <rbilesky at gmail.com> wrote:
> > So I was just testing out my plugin when I noticed a minor issue.
> Instead
> > of creating several menu pages, I created one but what is displayed
> differs
> > by a query var, however when that query var is set to show a
> > seperate interface the page is no longer highlighted as the active item,
> idk
> > if this would be considered a bug or not, but the main thing is I was
> > wondering if there is a work around, where I can force the item in the
> admin
> > menu to show as highlighted when I am accessing one of my admin pages.
>
> Could you have another param that you use to determine logic of what
> is displayed on your admin page so that the existing param is picked
> up by the admin menu
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list