I am pretty unaware of file structure in WordPress and not sure how pages for admin to work around are generated. I have a theme that generates a post type “ads”. Each ad has an author and when clicked on the author in the ads section it takes me to a page where it shows the number of ads the user have posted (in the dashboard itself, using their WordPress user id, i.e 1234.) I wanna change the way that works and I want to take the admin, when he clicks on the author’s username, to the author’s profile in the user area of WordPress. I just need to know which file to edit in order to do that, I can code something for it but I have a hard time finding that file. Any feedback is appreciated, thanks!
[ad_2]
There is no file to edit for that. The admin screens are handled by the core code and files, of which you never modify.
You’d need to write a custom function to do your task and place it in your themes functions.php file ( a child theme if using an off-the-shelf theme ). Or download a plugin that will allow you to add code snippets instead.