how to link custom menu to author.php

I am trying to create a new custom menu and this menu is link to author.php in wordpress. I have try some techniques but I still can’t get the result.

I hope everyone here can help me.

Related posts

1 comment

  1. You can get author.php via below steps: 
    
    1) Create a custom menu url like: http://example.com/apage/?mydata=thisdata
    2) Then get paramenter   $myvalue = $_GET('mydata');
    <?php 
     $myvalue = $_GET('mydata');
    
    if($myvalue)
      {
         header('Location: FILE PATH');
      }
    
    ?>
    
    Hope this trick will help you

Comments are closed.