免插件实现WordPress文章置顶的方法

  • 时间:2020-05-23 15:34:29
  • 分类:网络文摘
  • 阅读:106 次

文章置顶是wordpress自带功能,但被很多朋友忽略,以至于仍在使用Classic Posts和sticky等wordpress插件来实现。插件的功能虽然更丰富一些,比如,可以实现设置显示选定文章的全文或者摘要,并且摘要数字可调,设置当天文章置顶之类。但毕竟很多插件都需要在在wordpress主题中插入相关代码才行,而且过多的插件对博客运行速度有一定影响。所以在不需要实现太多功能的情况下,不用插件的效果更理想。下面说说不用插件实现文章置顶的方法:

以下关于wordpress技巧的文章也值得一看:

通过wordpress仪表盘修改wp_options数据表

WordPress定时发布功能 网站SEO优化的好帮手

无需插件轻松实现wordpress面包屑导航

文章置顶的具体方法有两种:

第一种:添加新文章时,在右上角的发布栏中选择“公开度 > 编辑 > 将文章置于首页顶端”。

wordpress文章置顶的方法

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

在快速编辑模式下设置wordpress文章置顶

技巧提示:在设置文章置顶的同时,你还可以看到为文章设置密码保护或设定文章为私密的选项。

推荐阅读:
Are You Taking Advantage Of These Free WordPress Marketing Plugi  What Content Marketers Can Learn from Game of Thrones  All You Need To Know About How Small Business Should Handle Soci  Should You Add Live Chat to Your Blog?  Food Blogger Accuses Fast Food Giant Of Stealing His Recipe  Back To School 2016: How To Rock (And Profit) With Sales And Mar  The Five Fundamentals to Creating a Powerhouse Blog  Blog On The Go With These Mobile Apps  Here’s Why Your Content is Struggling  Cloud Hosting vs. Traditional Hosting: Why Hosting Your Blog in  
评论列表
添加评论