Categories

Featured templates

WordPress. 如何使页面显示某些类别的帖子,并将它们分配到顶部菜单

Rating: 3.4/5. From 28 votes.
Please wait...

本教程展示了如何使页面显示特定类别的帖子,并将它们分配到WordPress的顶部菜单.

在WordPress中,你可以使用文章分类对文章进行分类.

要添加一个新的菜单项来显示特定的文章类别,你应该做以下的事情:

  1. 在下面创建一个类别 Posts -> Categories -> Add New Category:

    WordPress.-How-to-make-pages-show-posts-from-certain-categories-and-assign-them-to-top-menu-1

  2. 将职位分配到下列职类 Posts -> All Posts:

    WordPress.-How-to-make-pages-show-posts-from-certain-categories-and-assign-them-to-top-menu-2

  3. Create a page under Pages -> Add New.

  4. Insert a shortcode 在页面上使用分类 slug:

    WordPress.-How-to-make-pages-show-posts-from-certain-categories-and-assign-them-to-top-menu-3

  5. 添加显示类别的菜单项:

    1. Select Appearance -> Menus;

    2. Select to edit Header Menu;

    3. 将创建的页面添加为菜单项:

    WordPress.-How-to-make-pages-show-posts-from-certain-categories-and-assign-them-to-top-menu-4

尽管WordPress很流行, html 网站仍然广泛存在. So, if you have an html website 与现有的管理面板,查看我们的选择 Bootstrap Admin Themes to enhance its dashboard functionality.

网站速度优化服务

作为一个网页设计师,你总是需要确保你的页面加载速度快. Why is it important? 页面加载速度越快,用户体验越好. 人们不想等太久. 他们倾向于离开速度慢的网站,在其他地方搜索必要的内容. 此外,优化后的网站更容易被发现使用 search engines.

Website 优化是非常困难的. 这取决于你的项目. If your website 包括许多组件, 比如脚本或元素, and resources, like images, sounds or video files, 那么优化可能需要一段时间. 此外,不同类型的资源需要不同的方法. 换句话说,没有一种方法可以优化所有的 website elements at once. As a website 所有者,您仍然需要用内容填充它. 如果你有一个在线商店,你可能需要添加新产品. 您可能还需要修复各种错误或添加新的小部件和插件,以使您的 website easier to work with. It all needs time. 幸运的是,你可以得到你的 website 优化没有花费太多的时间. 我们的专业团队可以优化您的 website. We start with performance 分析-我们检查您的所有元素 website 了解如何优化它. 优化过程影响:

  • Content
  • Database
  • Source files
  • 压缩和缓存

优化完成后,我们会为您提供详细的报告. 您可以看到优化的影响 website performance. 此外,你可以要求我们修改你的 website again. 优化过程需要3个工作日如果你有 CMS (WordPress或Joomla)或5个工作日(WooCommerce, Prestashop, OpenCart, Magento). 关于优化的另一个好处是你不需要担心任何事情. 你可以专注于内容策略或如何提高你的 website 当我们进一步优化你的 website. 您还可以使用项目管理器检查优化进度.

Wordpress网站主题
这个条目被张贴了出来 WordPress Tutorials and tagged category, menu, page, post, specific, template, top, WordPress. Bookmark the permalink.

Submit a ticket

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: Submit a ticket