Buy All 48 Premium WordPress Themes for $54.99

How to Change Admin URL to a Custom Page URL

Change Admin Link

By default our theme Admin links points to author archive page. In case you wan to change it to point to custom page URL such as About us page it will require a small code change. Here are all of the necessary steps:

Login to your Admin Panel and navigate to Left Menu -> Appearance -> Editor -> open functions.php for edit.

Find and replace the following code:

<span class="icon author-icon">
  <?php the_author_posts_link(); ?>
</span>

with:

<span class="icon author-icon">
  <a href="https://tishonator.com/about"
     title="Posts by Admin"
     rel="author">Admin</a>
</span>

Change ‘https://tishonator.com/about’ to URL of your custom page url and save changes.

About the Author

Tihomir Ivanov is a WordPress and Salesforce Commerce Cloud (SFCC) developer, founder of tishonator.com, a fan of Linux and Open Source, Minimalism (in Design and Life), Sci-fi, Fantasy, Classic and History books :)

Leave a Reply