Skip to content
Status301 Premium

Premium WordPress Plugins and Support

Cart total: €0.00
Menu
  • WordPress plugins
  • Your Account
  • Support
    • Knowledge Base
    • Forums
    • Email support
  • Contact

XML Sitemap & Google News

FAQ’s and Troubleshooting the XML Sitemap

RavanH 26 March 202526 March 2025

Troubleshooting

XML Sitemap & Google News

xmlsf_index_archive_data

RavanH 15 March 202415 March 2024

Filters the post type sitemaps in XML Sitemap Index context when the sitemaps Server is set to Plugin. Used in xml-sitemap-feed/views/feed-sitemap.php Parameters (3) Return Must return an array of URL and lastmod date pairs. When…

Continue reading →

Filter Hooks

xmlsf_entry_url

RavanH 12 March 202415 March 2024

Filters the entry URL in XML Sitemap context when the sitemaps Server is set to Plugin. Used in xml-sitemap-feed/views/feed-sitemap-taxonomy.php Parameters (3) Return Must return a URL or false. Returning false will exclude the entry from…

Continue reading →

Filter Hooks

Conditional tags

RavanH 21 January 202421 January 2024

The XML Sitemap & Google News plugin adds two conditional checks that can be useful for theme or plugin developers. is_sitemap() Returns true when the current query is for any XML sitemap, including index and…

Continue reading →

XML Sitemap & Google News

[Advanced] Keywords for your Google News sitemap

RavanH 4 January 20244 January 2024

With the Google News Advanced plugin you can add keywords to your news sitemap. A. Configure the plugin: B. Give your news posts relevant keywords: If you have chosen Categories or Tags above, then assign…

Continue reading →

XML Sitemap & Google News

xmlsf_skip_user

RavanH 29 November 20231 December 2023

Filters the response when checking the author for exclusion flags in XML Sitemap context. Passes the user’s exclusion flag and $user; must return true or false. Used in xml-sitemap-feed/views/feed-sitemap-author.php Parameters (2) Return The filter should return…

Continue reading →

Filter Hooks

xmlsf_news_excluded

RavanH 21 April 202321 April 2023

Filters the response when checking the post for exclusion flags in Google News sitemap context. Passes the post exclusion flag and $post_id; must return true or false. Used in xml-sitemap-feed/views/feed-sitemap-news.php Parameters (2) Return The filter should…

Continue reading →

Filter Hooks

xmlsf_news_keywords

RavanH 7 April 20237 April 2023

Filters the news keywords array. Passes the post exclusion flag and $post_id; must return an array. Used in xml-sitemap-feed/views/feed-sitemap-news.php Parameters (2) Return The filter should return an array with keywords for the current post. Usage example…

Continue reading →

Filter Hooks

xmlsf_excluded

RavanH 22 February 202317 September 2023

Filters the response when checking the post for exclusion flags in XML Sitemap context. Passes the post exclusion flag and $post_id; must return true or false. Used in xml-sitemap-feed/views/feed-sitemap-posttype.php Parameters (2) Return The filter should return…

Continue reading →

Filter Hooks

Cloudflare and XML Sitemap & Google News

RavanH 17 January 202317 January 2023

Cloudflare may cause the XML Sitemap or Google News sitemap to be cached for a certain time, presenting stale sitemaps to both visitors and search engines crawlers. This can cause unexpected delays in indexing or…

Continue reading →

XML Sitemap & Google News

Posts navigation

Older posts
Documentation
  • CoolClock
  • XML Sitemap & Google News
Documentation: XML Sitemap & Google News
  • Install
  • Change registered license domain
  • FAQ’s and Troubleshooting
    • Search Console says: “Publication name does not match…”
    • Search Console says: “The sitemap can be read, but it has errors”
  • Adding sitemaps to robots.txt
  • Cloudflare and XML Sitemap & Google News
  • Nginx rules and XML Sitemap & Google News
  • Changing the XML sitemap appearance
  • [Advanced] Keywords for your Google News sitemap
  • Developers
    • Action and Filter hooks
    • Conditional tags
Support Forums
  • CoolClock Pro
  • XML Sitemap & Google News
Premium WordPress Plugins and Support - Status301 Premium © 2025