自定义顶部导航链接

:discourse2: 摘要 自定义顶部导航链接 允许您向 Discourse 顶部导航添加链接。
:eyeglasses: 预览 在 Discourse 主题创建器中预览
:hammer_and_wrench: 仓库链接 https://github.com/discourse/Discourse-nav-links-component
:open_book: Discourse 主题新手? Discourse 主题使用入门指南

安装此主题组件

功能

桌面端

移动端

设置:

名称 描述
导航链接 以分号分隔,顺序为:显示名称;描述;URL
隐藏下拉菜单 隐藏分类和标签下拉菜单
隐藏默认链接 隐藏移动端和桌面端的默认链接。
  • 导航链接 — 需要包含三个部分:

    • 名称
    • 描述
    • 路径或 URL

    名称是菜单中显示的链接文本。描述在您悬停在名称上时显示,如下所示:

    路径/URL 是您希望链接跳转到的位置。

    您可以在主题设置中以分号分隔的值添加链接,顺序如下

    name;description;URL

    URL 也可以是相对路径,例如

    /c/staff, /t/232, /groups/plugin_authors, /about, /tags/official

  • 隐藏下拉菜单

    隐藏默认的分类和标签下拉菜单

    Screenshot 2023-05-11 at 3.10.55 PM

  • 隐藏默认链接

    隐藏此部分中的默认链接

    Screenshot 2023-05-11 at 3.11.29 PM


:discourse2: 由我们托管? 主题组件可在我们的标准版、商业版和企业版计划中使用。

64 个赞
Categories in "top menu"?
Add /groups to top nav
How to make some categories like Bugs and Features here visible in top menu?
What about adding tags in the top menu?
How to add breadcrumb?
Simple Unread List
How can I add a menu item
Displaying all non-solved topics
Adding link to blog on main page
What is the proper way to extend categories route and filter topics?
Create a Tag filter like 'Make & Model' on community.cartalk.com
A playful approach to category moderation
Link to find all deleted posts by all users in a particular period
Reply reminder - Remind users to reply to new users topics with zero replies
How to add a topic in top nav in a specific category?
Following tags and top feed for followed tags
Show latest list sorted by creation date
Following tags and top feed for followed tags
Change Topic List home router - from Latest to Following
Missing category and tags breadcrumbs
A "Votes" option for the top menu in main page
Adding a chat link in the top navigation links?
Add a specific class for wikis (when first post) at the topic list level
How to add an icon in a navigation link?
Customizing your site with existing theme components
Show Latest topics, not by comment on home page
Custom Button For Discourse
Add Follow feed to top navigation
Improvements i want for my discourse for making it less overwhelming/noisy for newcomers
Sidebar link / top button to PM admin
Adding 'Upcoming Events' to top navigation
Can we add "Groups" to top menu?
Disclaimer section on the "about" page
Alternative component (plugin?) to categories navbar
Alternative component (plugin?) to categories navbar
FKB Pro - Social theme
2023: The Year in Review
Is it possible to have the Board view as the only view?
How to add Button in Section
Brave default Theme
Air Theme
Provide a way to access tracked/watched topics (outside search)
Discourse Solved
The first Custom Top Nav link inappropriately appears selected
Add another tab to menu bar
How can I remove the Category and tag filter?
How to Disable ALL User-to-User DMs/Chat without breaking Other Features?
Disable personal message between members
Add category in Top Menu?
Strange repetition in menu items
How can I add a link to the top menu area?
Why we can't add groups to top menu
How to add links on home page menu to other site?
Traditional multi level hierarchy vs flat discourse hierarchy
Ordering topics - how do the links work?
Knowledge Base
Automatically fill category with topics? "Best of" category?
How to add new button in different color
Adding "Category" as a topic list option within categories
Docs: Add link to top menu
New Theme: Tag-Pages Navigation
Custom nav bar options
Where can I see posts created by me?
Showing categories statically above most recent posts
Custom nav items no longer showing after recent update
Add /groups to top nav
Add topics-sorted-by-create-time to `top menu`
Categories Customization
Volunteer Activities - a simple setup for non-hierarchical collaboration
How to make the recommanded topics collection