Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1099535

    The theme already has a favicon. I would like to know which function to use in the child theme to customize a specific favicon.ico exclusive to the administrator (if connected)? Thank you


    Hey dnetwork,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,


    This code works but does not overwrite the favicon.ico of the theme

    function add_login_favicon() {
    $favicon_url = ‘’;
    echo ‘<link rel=”shortcut icon” href=”‘ . $favicon_url . ‘” />’;
    add_action(‘login_head’, ‘add_login_favicon’);
    add_action(‘admin_head’, ‘add_login_favicon’);


    Hi dnetwork,

    Try using this code:

    function avia_favicon_link($icon_link) {
      if ( current_user_can( 'manage_options' ) ) {
        $icon_link = '<link rel="icon" href="">';
        return $icon_link;

    Best regards,


    Nikko, Thanks



    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Create a specific favicon.ico for admin’ is closed to new replies.