My plugin has a login page that is used to log in the authorized users, in this stage the left side menu of wordpress is visible. Once user is authorized I use the following code to redirect him to the secure page, but once user is redirected to the securepage.php the left side menu of WordPress gets disappeared.
How can I keep the left side menu visible in all pages of my plugin?
Once user is logged in I use the following code to redirect to a secure page
...
//if user is authorized redirects them to a securepage.
if(authorized())
{
$content = content_url();
$dir = $content. "/plugins/Galleries/securepage.php";
echo '<script type="text/javascript">window.location.href="'.$dir.'";</script>';
}
....
By left side menu I mean the following one
