Which file do I need to edit in order to add a different link to the author’s tab in theme generated post type?

[ad_1] [Here’s the link to an image.])

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]
1 Comment
  1. 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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer