Title: Empty terms
Last modified: May 23, 2022

---

# Empty terms

 *  Resolved [afurtll](https://wordpress.org/support/users/afurtll/)
 * (@afurtll)
 * [4 years ago](https://wordpress.org/support/topic/empty-terms/)
 * How to add terms of taxonomies to the sitemap that do not contain linked posts

Viewing 1 replies (of 1 total)

 *  Plugin Author [xmlsitemapgenerator](https://wordpress.org/support/users/xmlsitemapgenerator/)
 * (@xmlsitemapgenerator)
 * [4 years ago](https://wordpress.org/support/topic/empty-terms/#post-15676651)
 * Hello. This is not a feature at present, but I can add it as a feature request.
 * If you have the skills you could hack the plugin to make it work. This isn’t 
   something I support directly, but if you have the knowledge / skills it would
   not be hard to work out and test.
 * As a pointer in the right direction, you would need to edit the Term Provider:
   TermsProvider.php and change the INNER JOINS to the correct outer join. I think
   it would be LEFT, but check this. You would need to do this for the count and
   get page functions.
 * Note that any changes would be overwritten if you updated to a new version.

Viewing 1 replies (of 1 total)

The topic ‘Empty terms’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/www-xml-sitemap-generator-org_525f9f.
   svg)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/www-xml-sitemap-generator-org/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/www-xml-sitemap-generator-org/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/)
 * [Active Topics](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [xmlsitemapgenerator](https://wordpress.org/support/users/xmlsitemapgenerator/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/empty-terms/#post-15676651)
 * Status: resolved