WordPress.org

Ready to get started?Download WordPress

Forums

Expound
[resolved] How do I put the privacy policy in the footer? (4 posts)

  1. NewAtCodes
    Member
    Posted 4 months ago #

    I can't figure out how to put the privacy policy page in the footer so it's out of the way but easily accessible. I really don't want to download tons of things since I'm new to coding. Can someone help explain things to me?

  2. CrouchingBruin
    Member
    Posted 4 months ago #

    Well, if you are new to coding, you don't really have a lot of options. You want to put the contents of an entire page in the footer, or do you want to just include a link to the privacy policy in the footer?

    The "standard" way to do this would be to create a child theme and edit a copy of the footer.php file, which isn't too difficult, but you'll have to know how to create a subfolder in order to create a child theme, and then you'll have to figure out how to copy files over from one folder to another; it's not hard, but it would take a lot of explanation.

    One shortcut you can take, instead, is to install a scripting plugin like Header and Footer, and then you can add this piece of code to it:

    <script>
    jQuery(document).ready(function($){
       $(".site-info").html('This is the privacy policy, blah, blah blah.');
    });
    </script>

    What this will do is replace the line in the footer that displays Proudly powered by WordPress ... with your own content. It can be text or HTML (like a link).

  3. NewAtCodes
    Member
    Posted 4 months ago #

    Ok, thank you. I have figured out how to replace the Proudly powered by WordPress. I guess I'll have to create a child theme then.

  4. NewAtCodes
    Member
    Posted 4 months ago #

    Thank you.

Reply

You must log in to post.

About this Theme

About this Topic