• Resolved vdnmanuel

    (@vdnmanuel)


    Is there a workaround so that a password protected page still shows the favicon like all the other pages on my website

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @vdnmanuel,

    thanks for reaching out!

    I think you have accidentally used the password-protection feature shipping with WordPress and not the one from Passster.

    Once a page is protected with Passster, you will still see your favicon.

    Cheers,
    Patrick

    Thread Starter vdnmanuel

    (@vdnmanuel)

    I double checked it and it’s definitely via the Passter plugin that the page is password protected. What makes you think I used something else?

    I guess the Passster function happens after the header is loaded. Is there a workaround for this?

    Plugin Author patrickposner

    (@patrickposner)

    Hey @vdnmanuel,

    thanks for the follow-up.

    I double checked it and it’s definitely via the Passter plugin that the page is password protected. What makes you think I used something else?

    Because Passster isn’t touching the header or footer of the protected page.

    The favicon is added in the hook wp_head(), but Passster only filters the_content().

    A typical site structure (simplified):

    wp_head()
    Includes all the scripts, styles and so on for your website.

    the_content()
    Includes all the content for a particular page/post.

    wp_footer()
    Also includes scripts that are loaded in the footer area of your website and maybe some additional markup (like closing HTML tags).

    You can also verify that by checking our one-click demo here: https://app.instawp.io/launch?t=passster-demo&d=v1

    If you set a favicon and visit a protected page, the favicon is still there.

    It might be a problem in conjunction with another plugin? Maybe a more or less unsupported page builder (We only focus on Elementor and Gutenberg).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My favicon won’t show on a Password Protected page.’ is closed to new replies.