WordPress置顶文章失效

今天来说说,WordPress在后台置顶文章时,前台第一篇文章显示的却不是刚刚置顶的文章,本人也在网上找了很久,都没有找到答案,于是开始自己研究。

首先来说说WordPress如何置顶文章,进入文章所有页,鼠标移至需要置顶文章的位置会出现以下样式,“编辑,快速编辑,移至回收站等”:

WordPress置顶文章失效

如下图箭头所示,选中“置顶这篇文章”的选项即可:

WordPress置顶文章失效

设置好上面这些回到首页,你会发现刚刚设置的并没有用。这是就要到主题里设置了,如果你跟我主题相同的话,可以照搬,如果你跟我使用的主题不同,可以当做参考。

在本主题常规选项设置里,找到热门排行这个区域,开启,下面“排序根据”,“排行名称”根据你的需要设置即可。

WordPress置顶文章失效

这时候在回到主页看看,是不是就跟本站一样了。希望此篇文章可以帮助到你。

WordPress置顶文章失效

 


七彩云博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:WordPress置顶文章失效

您必须 登录 才能发表评论!

(5)个小伙伴在吐槽
  1. Residential Alcohol Rehab Centers http://aaa-rehab.com Drug Rehab Substance Abuse Organizations https://hero.osclass.me/user/profile/24640
    Alcohol Recovery Programs Near Me2020-04-01 09:19 Windows 10 | Chrome 67.0.3396.87
  2. Drug And Alcohol Inpatient Treatment Centers http://aaa-rehab.com Alcohol Rehab Centers Kaiser Alcohol Rehab http://lawschoolnumbers.com/albertr
    Residential Drug Rehab2020-03-31 17:29 Windows 7 | Chrome 68.0.3440.106
  3. Substance Abuse Disorder Dsm http://aaa-rehab.com Drug Rehab Centers Near Me Drug Abuse Treatment Centers http://www.sccoa.com/forums/member.php?90607-Davorax
    Methadone Treatment Center2020-03-31 00:27 Windows 8 | Chrome 68.0.3440.106
  4. Substance Abuse Center http://aaa-rehab.com Drug Rehab Near Me Faith Based Rehab Near Me https://www.bbuzzart.com/profile/324579
    Substance Abuse Rehab Centers Near Me2020-03-30 09:16 Windows 7 | Chrome 67.0.3396.99
  5. Substance Abuse Rehab Centers http://aaa-rehab.com Alcohol Rehab Centers http://aaa-rehab.com Drug Treatment Centers Near Me http://aaa-rehab.com
    Drug Treatment Rehab2020-03-26 17:20 Windows 7 | Chrome 68.0.3440.106