=== SiteTree === Author URI: https://luigicavalieri.com/ Plugin URI: https://luigicavalieri.com/sitetree/ Contributors: _luigi Tags: html site map, google sitemap, news sitemap, lists, shortcode Requires at least: 5.3 Tested up to: 5.6 Requires PHP: 5.6.20 Stable tag: 5.2 License: GPLv3 License URI: https://opensource.org/licenses/GPL-3.0 Sitemaps, Hyper-lists and Beyond. == Description == SiteTree is a lightweight solution to enhancing a WordPress website with a Site Tree, a Google (Image) Sitemap and a News Sitemap. Developed prioritising user-friendliness, SiteTree is plug-and-play and nearly independent from user input. ### An overview of the major features: = A Family of Dynamic Sitemaps = Be it a Site Tree, a Google Sitemap or a Google News Sitemap, the sitemap of your choice will always be up-to-date. = SiteTree Dashboard = Where you can control the activation of the sitemaps and the enabling of the automatic pinging functionality, choose which types of content to include, reorder the hyper-lists composing the Site Tree with a drag-and-drop, and generally know details about the building process and the latest pinging events. = Code-free Customisation = WordPress-like settings pages together with the SiteTree Dashboard are where all your customisations take place. No need to be a developer to use SiteTree. = A Myriad of Hyper-lists = Fully documented and always ready-to-use, the `[sitetree]` shortcode and its workmate `sitetree_get_hyperlist()` are flexible like only a few other developer tools: you change one attribute, or argument, and a whole new, dynamic list of hyperlinks is all set to be perused. = Custom Post Types Support = You can include in the sitemaps any kind of content, custom or built-in. Yes, even in the Google News Sitemap. = Exclude and Disallow = Posts, Pages and Custom Posts can be excluded from the sitemaps and the shortcode-generated hyper-lists directly from the editor screen of WordPress. And with no more than a tick of a setting you can add to the 'robots.txt' file generated by WordPress a `Disallow` rule for each web page excluded from the Google Sitemap. = Automated and Upon-request Pinging = SiteTree can ping Google both on request, and automatically whenever a permalink is added to the Google Sitemap or to the News Sitemap. And when the subject of the notification is the Google Sitemap, there is always a second ping ready to reach Bing. = This is a Ghost Page = When a page is flagged as Ghost Page, SiteTree automatically excludes the Page from all the sitemaps and the shortcode-generated hyper-lists, prevents the WP Super Cache plugin from caching the Page and hides the Page from crawlers without showing up its path in the 'robots.txt' file. ### A Site Tree made up of details: * Drag-and-drop reordering of the hyper-lists composing the Site Tree. * Hierarchical and flat list styles. * De-hyperlinking of parent pages up to the third level. * Exclude all child pages. * Order pages by menu order or title. * Group posts by date, category or author with the ability to toggle the hyperlinking of the group's title. * Order posts by title, publication date or popularity. * Order custom posts by title or publication date. * Stick featured posts on top. * Show an excerpt of user defined length for posts. * Show authors' avatar and biographical info. **More info and the complete documentation are available on [LuigiCavalieri.com](https://luigicavalieri.com/sitetree/).** ### Extend SiteTree with Leaves! Leaves are lightweight yet powerful add-ons specifically built for SiteTree. For the time being, they are just two, but already flexible enough to let SiteTree be an answer to your professional needs: * [Pro Leaf](https://luigicavalieri.com/sitetree/leaves/pro/) — A constantly growing collection of features designed for professional websites. * [Demux Leaf](https://luigicavalieri.com/sitetree/leaves/demux/) — A sitemap multiplier and Site Tree paginator. == Installation == Upload in the 'plugins' folder, and activate. == Screenshots == 1. The SiteTree Dashboard. 2. The SiteTree Dashboard when the sitemaps are active. 3. The Pinging Bar. 4. Drag-and-drop reordering of the hyper-lists composing the Site Tree. 5. Metadata section. 6. The Site Tree of LuigiCavalieri.com, fine-tuned by Pro Leaf. 7. The Google Sitemap generated for LuigiCavalieri.com. == Frequently Asked Questions == = What is a Site Tree? = It actually is a Site Map, a human-oriented listing marked up in HTML5 of the most prominent content of your website. = Is there any chance of running into conflicts with the Core Sitemap functionality introduced in WordPress 5.5? No, there isn't. The plugin automatically disables the Core Sitemap functionality when the Google Sitemap is active. = Are the XML Sitemaps produced by SiteTree human-readable? = Yes, they are. Although the Google Sitemap and the Google News Sitemap are crawler-oriented sitemaps, they are both human-readable. = Are there limitations on the capacity of the sitemaps? = Yes, there are. For performance reasons the Google Sitemap has a maximum capacity of 10k permalinks, while the Google News Sitemap can contain at most 1k permalinks, as per specifications. The Site Tree's capacity is also limited, but in this case the reason is linked to usability and so, user experience. SiteTree can build an HTML Site Map composed of up to 1k items per included Content Type. If you need to build a larger sitemap, have a look into [Demux Leaf](https://luigicavalieri.com/sitetree/leaves/demux/). = Is SiteTree compatible with the Multisite feature of WordPress? = Yes, it is. = Can SiteTree generate a Google Sitemap complete with Change Frequency and Priority metadata? = Starting from SiteTree 3.0 the plugin no longer has this ability, become obsolete by now. = Will I lose my settings by upgrading from SiteTree 1.5.3? = You will lose only your general settings, your preferences about whether or not to exclude a post or page from the sitemaps will be automatically upgraded. Instead, the Change Frequency and Priority metadata you might have set for some posts or pages will not require upgrade, because in the latest version of SiteTree their use has been dropped. == Upgrade Notice == = 5.2 = This update finally removes from the database the Priority and Change Frequency metadata deprecated since SiteTree 3.0. == Changelog == = 5.2 (11 January 2020) = It's time to introduce a Template Tag: `sitetree_get_hyperlist()` is only awaiting the developer inside you! = 5.1.3 (2 January 2021) = Fixed a critical bug introduced with SiteTree 5.1 that hindered the proper operation of the Google Sitemap. = 5.1.2 (18 December 2020) = Fixed a PHP Fatal Error that popped up when the hyper-list of Posts in the Site Tree was grouped by category and the group's title was hyperlinked. = 5.1.1 (16 December 2020) = Prepared the ground for Pro Leaf 1.1 and its Bulk Exclude functionality. From this version on the fonts used by the XML Sitemaps' templates will be packaged in the plugin, so as to prevent that on server implementing stricter content policies the sitemaps have problems rendering in a browser. = 5.1 (7 December 2020) = The `[sitetree]` shortcode receives some love: through the new `only_children_of` attribute you can now tell SiteTree to generate hyper-lists of child pages. Also, the Google Sitemap filename is finally customisable. = 5.0 (24 November 2020) = *Requires WordPress 5.3 or later.* [The age of Leaves has begun](https://luigicavalieri.com/blog/introducing-leaves/): SiteTree opens up to the world of add-ons! As well as with Extensibility, SiteTree steps further ahead thanks to the restyling and reorganisation of the administration area. Also, this update marks another break with the past by finally removing from the database the Priority and Change Frequency metadata deprecated since version 3.0. = 4.5.3 (20 November 2020) = Fixed a bug where a fatal error could arise with plugins like Polylang that hook into the `user_has_cap` filter hook. = 4.5.2 (9 November 2020) = Raised to 1k the limit on the amount of items each list composing your Site Tree can contain. = 4.5.1 (24 October 2020) = Implemented a more reliable way of checking whether SiteTree is installed on a local development environment. = 4.5 (19 October 2020) = One shortcode, many lists: this update introduces the `[sitetree]` shortcode, sided by the ability to exclude Posts, Pages and Custom Posts from all the shortcode-generated lists directly from the editor screen. = 4.4 (29 September 2020) = As with the previous major update, Usability keeps being the main character: now the Automatic Pinging functionality for the Google Sitemap can be toggled on/off directly from the Pinging Bubble, in the dashboard. And Flexibility follows along, with the introduction of two "de-hyperlinking" settings: * the first pertains to the list of pages that might be present in your Site Tree, it lets you disable the hyperlinking of parent pages up to the third level. * the second setting is such that when posts in the Site Tree are grouped by date, category or author, it lets you de-hyperlink the group's title. = 4.3.2 (21 September 2020) = Fixed a bug where, on grouping posts by date, category or author, the list included a spurious `