Custom sitemap image count is zero but image url in sitemap?
-
I created a custom sitemap for my frontend vendors (EDD Frontend Submissions) as they use a custom implementation for their vendors rather than the standard WP user. The sitemap works fine and has for years.
Today, I decided to modify my function to include the user avatar as a sitemap image. I can see the image URL when I download the sitemap but the image count remains as zero. Some of my avatars are hosted locally, and some are called from Gravatar
I have enabled/disabled the sitemap, cleared my PC and site’s cache and excluded the sitemap from my caching plugin but nothing has changed.
I have a feeling that this has something to do with the sitemap image parser and I am wondering if there is some filter I should be using before returning the URL to the sitemap.
Please advise
- The topic ‘Custom sitemap image count is zero but image url in sitemap?’ is closed to new replies.