I want to alter the view of edit.php in the posts admin area. What I want is when a category is set ( $_GET[‘cat’], cat=x in the url ), add post would be post-new.php?cat=x.
Is this possible?
I know there is a sample code on wordpress answers that gives you this ability, but it does not alter the Add Post / Add Page link on the edit.php screen. I’ve managed to do this by hacking the edit.php myself, but normally in the next update all changes will be lost.
here is a picture depicting what needs to be altered….