该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

SimpleSitemap

描述

Generates a simple sitemap, listing the page and posts on your site. You can set which page will become your sitemap, and the sitemap will be automatically inserted with your regular page content.

This plugin is useful in helping your visitors find their way around the site, and is beneficial for search engines crawling your site.

July 2024 – Plugin now comes with a Gutenberg compatible block, allowing you to choose which post-types to show sitemap links for. The earlier functionality & shortcodes continue to work unchanged.

区块

该插件提供了 1 个区块.

  • Sitemap Insert sitemap links for selected post-types

安装

  1. Upload plugin to your wordpress installation plugin directory
  2. Activate plugin through the Plugins menu in WordPress
  3. Look at the configuration screen (found under Settings in the WordPress menu)
  4. Choose which page to show the sitemap on, and tick which pages or post-categories you wish to exclude from the sitemap.

常见问题

Can I change the order in which Pages are listed?

Pages are listed according to ‘menu order’. When you edit pages, you can set the Order. There are plugins available which let you drag/drop pages to set your preferred order.

Are pages displayed hierarchically?

Yes – if you have pages & subpages, they will be listed as an indented list.

Can I change the order in which Posts are listed?

No. Posts are listed from newest to oldest, and are not grouped by category.

Can I display my blog posts grouped by category?

No, I haven’t build that feature yet.

How do I use the shortcode to show my custom post-type?

[simplesitemap view=”POST_TYPE”]

评价

此插件暂无评价。

贡献者及开发者

「SimpleSitemap」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「SimpleSitemap」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.4.5

  • Realised that renaming plugin to index.php will disable existing installs when updating
  • Go back to old filename for that compatibility.

1.4.4

  • Adding a Gutenberg block, and the build tools that go along with it

1.4.3

  • Adding /assets/ folder for use on plugin repository
  • Fix an error in my build/deploy script

1.4.1

  • Release using github build tools

1.4.0

  • Refactor plugin, and set up a git repo with SVN deployment

1.3.1

  • Code formatting changes to bring inline with WordPress PHP Code Standards
  • Convert class to singleton model

1.3

  • Update code to suit WordPress 4.4 standards
  • Better handling of post type outputs
  • Now supports Pages, Posts, and Products out of the box
  • Shortcode can be used to draw additional types
  • Action hooks included, might be useful to developers
  • Remove the Custom Titles function – haven’t used it in a long time.

1.1

  • Now supports Custom Titles through Thesis Theme and All In One SEO Plugin
  • Added ShortCode Support: [simplesitemap] or [simplesitemap view=pages] or [simplesitemap view=posts]
  • Auto-Add to Page now allows you to insert before OR after original page content

1.0

  • Initial release.