免插件实现WordPress文章置顶的方法
- 时间:2020-05-23 15:34:29
- 分类:网络文摘
- 阅读:156 次
文章置顶是wordpress自带功能,但被很多朋友忽略,以至于仍在使用Classic Posts和sticky等wordpress插件来实现。插件的功能虽然更丰富一些,比如,可以实现设置显示选定文章的全文或者摘要,并且摘要数字可调,设置当天文章置顶之类。但毕竟很多插件都需要在在wordpress主题中插入相关代码才行,而且过多的插件对博客运行速度有一定影响。所以在不需要实现太多功能的情况下,不用插件的效果更理想。下面说说不用插件实现文章置顶的方法:
以下关于wordpress技巧的文章也值得一看:
通过wordpress仪表盘修改wp_options数据表
WordPress定时发布功能 网站SEO优化的好帮手
无需插件轻松实现wordpress面包屑导航
文章置顶的具体方法有两种:
第一种:添加新文章时,在右上角的发布栏中选择“公开度 > 编辑 > 将文章置于首页顶端”。

第二种:发布文章后,在文章列表中选择要置顶的文章,然后在快速编辑模式下设置。

技巧提示:在设置文章置顶的同时,你还可以看到为文章设置密码保护或设定文章为私密的选项。
推荐阅读:5 Tips to Drive Traffic to Your Blog Ideas to Help You Set Up the Home Office of Your Dreams Wix vs Squarespace 2020 – Things You Must Know How to Delete N Nodes After M Nodes of a Linked List? Bruteforce Algorithm to Find the Unique Positive Integer Whose S Clone (Deep Copy) Binary Tree With Random Pointer using Hash Map How to Compute Running Sum of 1d Array using std::partial_sum in How to Renew the Free SSL Certificates (Nginx Server)? Design: How to Solve 503 Error of API when Resources are not ava SteemJs Programming: What Happens on the Steem Blockchain in the
- 评论列表
-
- 添加评论