前言介紹
- 這款 WordPress 外掛「WP Html Page Sitemap」是 2016-05-14 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2017-07-16,距離現在已有 2848 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.7.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pa1 |
外掛標籤
wp | page | sitemap | html sitemap | page sitemap |
內容簡介
描述
這是一個簡單且輕量的外掛程式,用於在單個頁面中顯示頁面連結。前往設置並點擊選項“HTML 網站地圖”,並選擇您要在網站地圖中顯示的文章類型。可用的參數如下:
sort_column
sort_order
exclude
include
depth
child_of
meta_key
meta_value
authors
number
offset
post_type
post_status
例子
簡單的示例。
[SITEMAP]
帶有參數的簡單示例。
[SITEMAP id=”” class=”” child_of=”” authors=”” date_format=”” depth=”” echo=”” exclude=”” include=”” link_after=”” link_before=”” post_type=”” post_status=”” show_date=”” sort_column=”” title_li=”” ]
參數描述:
‘id’: 將 id 添加到
- 中,如
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Html Page Sitemap」來進行安裝。
Advanced Sitemap Generator 》這個外掛是最強大的外掛之一,可以輕鬆通過短碼在前端顯示您的文章和頁面。您只需要在您的頁面/文章中放置短碼()。, 如果您想排除某些頁面,請放置(...。
Sitemap with woocommerce 》使用短代碼建立網站地圖頁面。分別提供文章、頁面和 WooCommerce 產品的短代碼。, , [SitemapPost] — 列出所有文章, [SitemapPage] — 列出...。
Easy Sitemap 》透過使用 shortcode,建立網站地圖頁面。針對文章、頁面和 WooCommerce 產品分別提供 shortcode。, , [SitemapPost] — 列出所有文章, [SitemapPage]...。
EAS Sitemap Generator 》只需啟用此外掛,即可生成 XML 網站地圖。使用此網站地圖,您可以在 Google 網站管理工具中驗證您的網站,並且可以讓所有搜索引擎讀取。您可以選擇文章、頁面...。
‘class’: 將類添加到
- 中,如
‘child_of’: 按 ID 僅顯示單個頁面的子頁面。默認值為 0(所有頁面)。
‘authors’: (字符串)作者 ID 的逗號分隔列表。預設為空(所有作者)。
date_format’: (字符串)用於列出頁面的 PHP 日期格式。依賴於 ‘show_date’ 參數。默認值為 ‘date_format’ 選項的值。
‘depth’: (int)頁面層次結構中要包含在生成的列表中的層級數。接受 -1(任何深度)、0(所有頁面)、1(僅頂級頁面)和 n(具有到 n 深度的頁面)。預設為 0。
‘echo’: (bool)是否回顯頁面列表。預設為 true。
‘exclude’: (字符串)要排除的頁面 ID 的逗號分隔列表。
‘include’: (array)要包含的頁面 ID 的逗號分隔列表。
‘link_after’: (字符串)在頁面連結標籤後跟隨的文本或 HTML。默認值為 null。
‘link_before’: (字符串)在頁面連結標籤前面的文本或 HTML。默認值為 null。
‘post_type’: (字符串)要查詢的文章類型。默認為 ‘page’。
‘post_status’: (字符串)要包含的文章狀態的逗號分隔列表。默認為 ‘publish’。
‘show_date’: (字符串)是否為每個頁面顯示頁面發布或修改日期。接受 ‘modified’ 或任何其他值。空值隱藏日期。
‘sort_column’: (字符串)用於按列名對頁面排序的逗號分隔列表。接受 ‘post_author’、‘post_date’、‘post_title’、‘post_name’、‘post_modified’、‘post_modified_gmt’、‘menu_order’、‘post_parent’、‘ID’、‘rand’ 或 ‘comment_count’。默認為 ‘post_title’。
‘title_li’: (字符串)列表標題。傳遞 null 或空值將導致沒有標題,並且列表將不會用無序列表
- 標記包裹起來。默認為 ‘Pages’。
原文外掛簡介
Description
This is simple and light weighted plugin to display page links in a single page and go to setting and click option “HTML Site Map” and select post type which you wont to show in sitemap. Argument like:
sort_column
sort_order
exclude
include
depth
child_of
meta_key
meta_value
authors
number
offset
post_type
post_status
Examples
Simple exameple.
[SITEMAP]
Simple exameple with argument.
[SITEMAP id=”” class=”” child_of=”” authors=”” date_format=”” depth=”” echo=”” exclude=”” include=”” link_after=”” link_before=”” post_type=”” post_status=”” show_date=”” sort_column=”” title_li=”” ]
Parameter Description:
‘id’: Adds id to
- like
-
‘class’: Adds classes to
- like
-
‘clield_of’: Display only the sub-pages of a single page by ID. Default 0 (all pages).
‘authors’: (string) Comma-separated list of author IDs. Default empty (all authors).
date_format’: (string) PHP date format to use for the listed pages. Relies on the ‘show_date’ parameter. Default is the value of ‘date_format’ option.
‘depth’: (int) Number of levels in the hierarchy of pages to include in the generated list. Accepts -1 (any depth), 0 (all pages), 1 (top-level pages only), and n (pages to the given n depth). Default 0.
‘echo’: (bool) Whether or not to echo the list of pages. Default true.
‘exclude’: (string) Comma-separated list of page IDs to exclude.
‘include’: (array) Comma-separated list of page IDs to include.
‘link_after’: (string) Text or HTML to follow the page link label. Default null.
‘link_before’: (string) Text or HTML to precede the page link label. Default null.
‘post_type’: (string) Post type to query for. Default ‘page’.
‘post_status’: (string) Comma-separated list of post statuses to include. Default ‘publish’.
‘show_date’: (string) Whether to display the page publish or modified date for each page. Accepts ‘modified’ or any other value. An empty value hides the date.
‘sort_column’: (string) Comma-separated list of column names to sort the pages by. Accepts ‘post_author’, ‘post_date’, ‘post_title’, ‘post_name’, ‘post_modified’, ‘post_modified_gmt’, ‘menu_order’, ‘post_parent’, ‘ID’, ‘rand’, or ‘comment_count’. Default ‘post_title’.
‘title_li’: (string) List heading. Passing a null or empty value will result in no heading, and the list will not be wrapped with unordered list
- tags. Default ‘Pages’.
各版本下載點
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)