Support » Theme: Storefront » Since Update July 4, Privacy Policy Link Suddenly Appears at Footer

  • Resolved jwest444

    (@jwest444)


    I didn’t add it there. How can I remove this link that now appears directly under my copyright notice? It is redundant because I already provide a Privacy link in my footer widget.

Viewing 7 replies - 1 through 7 (of 7 total)
  • mother.of.code

    (@imazed)

    The Mother of Code | Automattic Happiness Engineer

    Hi there @jwest444! This is a new feature included in the Storefront theme. You can disable it by adding the following code to your functions.php file:

    remove_action(storefront_footer, storefront_credit,20);

    I am facing the same problem. The solution given above does not work. The privacy policy link appears in the footer even when the storefront credit is removed.

    Adding the code didn’t work for me either. I use Storefront Powerpack if that makes a difference.

    Also, I tried completely removing my store copyright notice as well to see if both lines disappear. But both remained after refreshing and checking on different devices (store copyright and privacy policy link below it).

    mother.of.code

    (@imazed)

    The Mother of Code | Automattic Happiness Engineer

    Hi! I talked to a colleague about this, and he provided a snippet that works on my staging site:

    add_filter('storefront_privacy_policy_link', '__return_false');

    Can you all please try this and let me know if that works for you?

    This worked for me. Thank you so much! I appreciate your spending time on this matter.

    mother.of.code

    (@imazed)

    The Mother of Code | Automattic Happiness Engineer

    Awesome, thanks for letting me know @saowp!

    YES! It worked. Thank you so much @imazed

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.