如何添加永久链接/超链接到页脚(wordpress)? [英] How to add permalinks/hyperlinks to footer (wordpress) ?

查看:230
本文介绍了如何添加永久链接/超链接到页脚(wordpress)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



因为我是一名新手,因为我需要使用HTML& amp; CSS我想知道如何添加更多固定链接。



高于我(由Nino.2016设计)我想通过点击添加隐私政策和免责声明引导您进入页面。如果你能告诉我要编码什么,我真的很感激。



我需要编码什么,所以我不会弄乱我的HTML(外观>> ;编辑>>主题页脚[footer.php]



这是我在





/ **

*显示页脚的模板。

*

*包含关闭#content div和所有内容后

*

* @package悉尼

* /

?>





<! - #content - >

















Hello everyone,

since I am a newbie when it comes to coding with HTML & CSS I wanted to know how I can add more permalinks.

Above my (Designed by Nino. 2016) I want to add a privacy policy and a disclaimer which by clicking guides you to a page. I would really really appreciate it if you could tell me what to code.

What do I need to code so I do not mess up my HTML (Appearance >> Editor >> Theme footer [footer.php]

This is what I got on :


/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Sydney
*/
?>


<!-- #content -->










<! - .site -info - >

<! - #colophon - >

<! - #page - >







< / body&g t;

< / html>

<!-- .site-info -->
<!-- #colophon -->
<!-- #page -->



</body>
</html>

推荐答案

在关闭标签之前,插入



Before closing tag, insert

<a href="yourprivacypage">Privacy</a> <a href="yourdisclaimerpage">Disclaimer</a>





编辑yourprivacypage和yourdisclaimerpage到你的实际页面。



Edit "yourprivacypage" and "yourdisclaimerpage" to your actual pages.


这篇关于如何添加永久链接/超链接到页脚(wordpress)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆