這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WeDesIn HTML Sitemap

外掛說明

WeDesIn HTML Sitemap adds list of all the pages, posts and custom post types to any webpage using the shortcode [html-sitemap]. This is a very simple plugin without any settings page. The idea behind the plugin is that you add the shortcode to your page, exclude any posts you don’t want included and that is it.

Note: Only public custom post types are included.

To exclude a post or posts from the sitemap, use the “exclude” parameter with a post ID as a value and comma to separate them.

Example: [html-sitemap exclude=”42, 503″]

To exclude post types, use the exclude_type parameter with a post ID as a value and comma to separate them.

Example: [html-sitemap exclude_type=book, product]

Since 1.03
Now the plugin has the option to list all attachments. To do so, use the [attachment-sitemap] shortcode. It is not possible to use the “exclude” attribute with this shortcode.

Note: It is not possible to exclude pages.

Note 2: No styling is added to the code apart from style=”clear: both;” and the “whs-wrap” class wrapping the list of posts and pages. You can use this class if you wish to style the sitemap specifically.

安裝方式

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/wedesin-html-sitemap directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add the [html-sitemap] shortcode to the page where you want to display your sitemap
  4. If required, exclude posts by adding the exclude=”xyz” parameter and the “xyz” change for your posts ID. To exclude more posts separate them by comma.

常見問題集

Where is the settings page?

There is no settings page.

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈WeDesIn HTML Sitemap〉的開發相關工作。

參與者

將 WeDesIn HTML Sitemap 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.00 (2019-12-12)

Plugin moved to objective PHP and updated to latest WP version

1.03 (2016-10-27)

Added the option to add Attachement list with the [attachment-sitemap] shortode.
The return_post_type_posts_WHS_wedesin function updated to feed the attachments.
Posts are now listed by date.
Fixed bug in the options_to_array_WHS_wedesin function.

1.02 (2016-09-12)

Added the option to exclude post types.

1.01 (2016-07-31)

Class updated to whs-wrap.

1.0 (2016-07-31)

Plugin published