WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Code for html footer.php to add a privacy policy download

[Resolved] Code for html footer.php to add a privacy policy download

  • Hello, I am using WP 3.2.1 with the theme attention, I have just edited the html code for the footer.php file and uploaded it to the server.

    In the footer of every page I want a link to download our privacy policy. So I added the PP document into my download manager on the site, and then added the [download#14] code within, corresponding to the document download. But it didnt work the way I had hoped! I am new at this and don’t know much of anything about writing html. Is there a code that I can add around the download that would make it available?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok I figured it out. I just needed to add this bit of code instead of the [download#14] reference. Here it is in case anyone who wants to do the same, needs it:

    So for my example we have our Privacy Policy as a download, remember I have already downloaded the pdf document to the document manager area of my site.

    Please read our <a href='http://yourwebsiteaddress.com/?ym_download_id=corresponding number to your download' title='Privacy Policy'><span style="color: #C3943C;text-decoration: underline;">Privacy Policy</span>

    If you want to change the color, just add a different hex #.

    I think thats it! It worked for me.

    austenhayes
    Member

    @austenhayes

    I went to appearance/editor then saw footer in sidebar…I’m terrified of ‘crashing’ site after reading what it says in ‘help’ section. I need a privacy policy, know very little technically, and can’t figure out how to install this so that the privacy policy will appear somewhere on contact page…help..thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Code for html footer.php to add a privacy policy download’ is closed to new replies.