WP Multilingual Sitemap is a highly customizable WordPress plugin that allows displaying, in posts and pages, an HTML sitemap of: pages, posts and posts ordered by categories.
CMS Features
- Sitemap settings are set through a shortcode added in a post or page
- Support for pages, posts and custom posts
- Support for native WordPress functions parameters
- No data added to the database
Multilingual Features
- WPML translations fully compatible
- Display sitemaps in different languages without changing the shortcodes
- Built-in plugin localization without .mo files
Accesibility Features
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0
- HTML5 validation
Examples
Here you can find some examples of use:
Sitemap Pages (`[wpms-pages]`)
-
Display pages with a depth limit of 2 and exclude page ID 25
-
Display pages with only children and grandchildren of the current page
-
Display pages with the page modified date and pages sorted by the menu order number.
Sitemap Posts ([wpms-posts])
-
Display 3 posts from a category with ID 50 ordered by title
-
Display all private custom ‘movie’ posts with the list title “Movies”
-
Display posts in all languages (WPML)
Sitemap Posts by Categories ([wpms-categories-posts])
-
Display posts of just 5 categories
-
Display posts of only top categories
-
Display posts of categories whose parent’s category ID is 40
Codex
- Template Documentation for the
wp_list_pagesfunction: use this with[wpms-pages]shortcode - Template Documentation for the
get_postsfunction: use this with[wpms-posts]and[wpms-categories-posts]shortcodes - Template Documentation for the
wp_list_categoriesfunction: use this with[wpms-categories-posts]shortcode
Custom
In addition, for the [wpms-posts] shortcode, you can set another two params:
- ‘title_li’: (string) the title and style of the outer list item. Defaults to “Posts”. If empty, the title will be not displayed.
- ‘style’: style to display the categories list. The value ‘list’ displays the categories as list items while empty value generates no special display method (the list items are separated by
<br>tags). The default value is list (creates list items for an unordered list).
For the latest information visit the website: http://code.google.com/p/wp-multilingual-sitemap/

评论0