2014-01-04, 23:57:57
I'm having trouble with the fragment about adding side bar links to two different tabs, where page_type parameter needs to be set dynamically.
Since there's no $_GET['action'], this part of the code is wrong:
but I don't know how to get this right. Even without that I don't really understand what is going on here. Is there a way to check what page_type is currently visible?
Since there's no $_GET['action'], this part of the code is wrong:
PHP Code:
@$_GET['id'] == $thisfile && @$_GET['action'] == 'setup' ? 'plugins' : 'theme'
but I don't know how to get this right. Even without that I don't really understand what is going on here. Is there a way to check what page_type is currently visible?