Make WordPress Core

Opened 16 months ago

#51543 new feature request

Create is_sitemap() conditional tag

Reported by: MadtownLems Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Sitemaps Keywords:
Focuses: Cc:


As people continue expanding and customizing Core's XML sitemaps, I believe an is_sitemap() conditional tag would be very helpful.

In the short term, its existence would be very useful for getting around the bug explained in #51542 (, but surely developers will find other ways to make use of it and it seems like a natural fit to be a conditional tag.

Change History (0)

Note: See TracTickets for help on using tickets.