Thread Starter
rjfnz
(@rjfnz)
To clarify, can I remove the Privacy Policy from the footer? Or failing that, centre it? At present it butts up against the copyright notice. Thanks again
Hi Roger,
One of the last updates to the “Twenty Twenty-One” theme on 25th January 2022 was to include the Privacy Policy (if selected) in the footer.
If you don’t want to show the privacy policy there, the easy way to do so is to unselect it as follows …
1) Go to “Dashboard – Settings – Privacy”
2) Select “- Select -”
3) Click “Use This Page”
Let me know if that resolves your issue.
Oliver
Thread Starter
rjfnz
(@rjfnz)
Hi Oliver, fast response as always. Thank you. However I did as recommended above, and the ‘Privacy Policy’ link is still in the footer. I looked in Footer settings, under Customise, but see nothing there that may be causing this to appear. Regards, Rogetr
Thread Starter
rjfnz
(@rjfnz)
Should also have said, Theme has been updated too. Cheers, Roger
Hello Roger,
Looking at your site, the code for your link is …
<div class="privacy-policy"><a class="privacy-policy-link" href="https://miniaturetimetraveller.com/options-for-digital-subscriptions/my-login-welcome-page/miniature-time-traveller-privacy-policy/">PRIVACY POLICY</a></div>
… which is created by footer.php in the theme …
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '<div class="privacy-policy">', '</div>' );
}
… which calls get_the_privacy_policy_link()
. That function will only return a link if you have selected a privacy policy page in “Dashboard – Settings – Privacy” so I’m afraid that you need to go back to that and check again that no page is selected.
Oliver
Thread Starter
rjfnz
(@rjfnz)
Aghh!!
I’m so sorry Oliver. I misread your previous instruction. All sorted now. Sorry to waste your time!
Regards, Roger
No problem, glad it’s sorted 🙂
Oliver