[WordPress] 外掛分享: Post Hierarchy Menu

首頁外掛目錄 › Post Hierarchy Menu
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3837 天前
最後更新
問題解決
WordPress 3.0.1+ v0.0.1 上架:2015-09-11

內容簡介

我使用 WordPress 網站記錄各種主題的筆記,它們以父子關係組織。我需要一種簡單的方法來以嵌套的方式顯示它們的階層關係,因此我編寫了這個外掛。

安裝後,它會添加一個小工具,讓您選擇要顯示的文章類型。如果您有分層的自訂文章類型或有很多深度的嵌套頁面,它通常很方便。在前端,它會加入一個腳本異步加載文章列表,這樣您的網站可以優先加載,而不必擔心拉取所有文章列表。完成網站加載後,然後所有文章將載入。這又是一個可以節省資源的工具,因為文章在客戶端按照它們的階層組織。這意味著服務器只會輸出一個文章數組,並將其發送到訪客的瀏覽器。一旦它們到達,訪客的瀏覽器將進行組織工作。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Post Hierarchy Menu」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

I use a WordPress site to keep notes on a variety of subjects, they are organised as parents / children. I needed a simple way to show them in a nested list that reflected their hierarchy. So I wrote this plugin to do just that.
Once installed it addes a widget that will allow you to select which post type to display. It’s generally handy if you have hierarchical custom post types or a lot of deeply nested pages. On the front end, this adds a script to load in the post list asyncrously – this lets your website load first without having to worry about pulling together the list of all your posts. Onec the site is loaded, then all the posts will load. Another resource saver for you – the posts are organised into their hierarchical order client side. This means the server just spits out an array of posts and sends them to the visitor’s browser. Once they arrive the visitors browser will do the work of orgaisaiton.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon