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”]
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.
- Upload the plugin files to the
/wp-content/plugins/wedesin-html-sitemapdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Add the [html-sitemap] shortcode to the page where you want to display your sitemap
- 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” is open source software. The following people have contributed to this plugin.ਯੋਗਦਾਨੀ
ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?
Fixed the schedules post error and added compatibility for latest WordPress version
Plugin moved to objective PHP and updated to latest WP version
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.
Added the option to exclude post types.
Class updated to whs-wrap.