hi im using my own customize stylesheet using twitter bootstrap in wp-admin.
i have created my own navigation bar like below.
add_action('admin_head', 'myNavbar');
function myNavbar(){
echo "
<ul>
<li class="active"> <a href="../wp-admin/"> HOME </li>
<li><a href="../plugin.php"> PLUGIN</li>
</ul>
";
}
how can i manipulate my markup to make <li class="active"> Plugin </li>
when im in wp-admin/plugin.php
im thinking, getting the current page and create some conditional statement in PHP
if(isset($_GET) == '.../plugin.php') {
// change Markup here
}
not sure if this is the correct approach