how to add a a terms and conditions page to the footer in wordpress?
I currently am working on a site in wordpress开发者_如何学Go and am trying to add a t and cs page but I diont want it to show in the nav, I would like it to only be in the footer.
How can I do this?
Open up the footer.php for your theme (/wp-content/themes/YOURTHEME/footer.php
), scroll down to the part of the file that echoes out the footer links, and you can append it there. (if you don't have a footer.php
, try looking near the bottom of page.php
)
Note that this is a dirty quick hack, there's probably a more semantic way to get this done.
Open footer.php in your theme.
add this line and change match to your TOS page url
<a href="url/to/term-and-condition.html">TOS</a>
精彩评论