# AS Sitemap
Contributors: sulli
Tags: sitemap, html, plan de site, twig, timber, shortcode
Requires at least: 4.7
Tested up to: 4.9.6
Stable tag: 1.0
Version: 1.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html


Add hierarchical html pages sitemap on your website, by using [as_sitemap] shortcode. Improve SEO & User navigation. Build with ❤ and Timber & Twig.


## Description

Use [as_sitemap] shortcode to display sitemap on any pages

While editing an page, you can click on a checkbox button to exclude it from the sitemap

This plugin require `Timber` plugin to work, it use twig engine template


## Installation

1. Upload the plugin files to the `/wp-content/plugins/as-sitemap` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Install plugin dependencies
4. Have fun :-)



## Frequently Asked Questions


### Can I exclude some pages from sitemap ?

Yes, you simply check the checkbox button on edit page (cf screenshots)



## Screenshots

![Alt text](/assets/screenshot-1.png?raw=true "Exclude page from sitemap")

![Alt text](/assets/screenshot-2.png?raw=true "Sitemap example")

![Alt text](/assets/screenshot-3.png?raw=true "Sitemap shortcode")



## Upgrade Notice ##

Not for the moment ;-)



## Changelog

### 1.0
* Tested with WordPress 4.9.6
* Tested with WordPress 4.9.5

### 0.2.2
* Tested and compatible with Wordpress 4.7
* Fix warning when activate plugin

### 0.2
* Add checkbox button to exclude page from sitemap

### 0.1
* Init plugin
* Display sitemap of pages with [as_sitemap] shortcode
