As mentioned by @PieterGoosen in the comments, all I had to do was shift my code to a custom author.php
and the rest was solved.
As mentioned by @PieterGoosen in the comments, all I had to do was shift my code to a custom author.php
and the rest was solved.