简体   繁体   English

wordpress-如何在主页上显示一个类别的帖子(仅一个类别新闻)而不是全部

[英]wordpress - how can i have a single category postings (just one category news) instead all in the mainpage

I have a website, here is the link for reference and visualization, made with wordpress twentyfourteen theme. 我有一个网站,这里是供参考和可视化的链接 ,以wordpress二十四主题为主题。 Currently, in the main page, the main area have blog posting from all categories (currently news and featured). 当前,在主页的主要区域中,有来自所有类别的博客发布(当前为新闻和精选)。 How can I limit it to list only "news" category ? 如何将其限制为仅列出“新闻”类别? the reason is I dont want to mix it with featured, so that featured is only listed on the right sidebar. 原因是我不想将其与功能部件混合使用,因此功能部件仅列在右侧栏中。

Here is a screenshot for better understanding: 以下是屏幕截图,可让您更好地理解:

在此处输入图片说明

There is no option to do this, but you can go to Page (or Post) settings and choose if you want to show this page/post manually. 没有选项可以执行此操作,但是您可以转到页面(或发布)设置,然后选择是否要手动显示此页面/发布。

Checkboxes inside page/post settings (check or uncheck): 页面/帖子设置内的复选框(选中或取消选中):

  1. Featured posts 精选文章
  2. Newest posts 最新帖子

Also, I recommend to watch tutorial how to hide it in this way: Source 此外,我建议观看教程如何以这种方式隐藏它:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 WordPress 类别选择限制为一个? - How can I limit WordPress category selection to just one? 如何在wordPress中按分类法类别ID或分类法类别名称获取所有分类法类别的帖子? - How can i get all post of taxonomy category post by taxonomy category id or taxonomy category name in wordPress? CakePHP:如何使用“漂亮”网址选择一个类别的所有元素? (/类别/ NAME_OF_CATEGORY) - CakePHP: How can I select all elements of one category with a “nice” url? (/category/NAME_OF_CATEGORY) 如何只获得一个类别而不是全部 - How to get just one category and not all of them 如何在WordPress查询中获取分类法类别的所有记录? - How can I get all records of taxonomy category in WordPress Query? 如何获取Wordpress中某个分类下的所有帖子 - How can I get all the posts of a category in Wordpress 您如何编辑Wordpress帖子的“发布到类别”部分,以“链接”整个短语,而不只是类别? - How do you edit the “Posted To Category” part of a Wordpress post to 'linkify' the entire phrase instead of just the category? 如果我选择该类别的新闻,如何选择该类别的名称 - how to pick a category name if i chose a news of that category 如何从CodeIgniter HMVC中的类别模块获取新闻模块中帖子的类别名称 - How can I get category name of post in news module from category module in CodeIgniter HMVC 如何在 Wordpress 中自定义类别页面? - How can I customize category pages in Wordpress?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM