Image Sitemap support #104

wants to merge 3 commits into


None yet

1 participant

mjangda commented Jan 9, 2017 edited

See #61 (and

Adds the post thumbnail as an image:image child to each sitemap entry (if images have not already been added to the entry).

Other things that might be nice to have:

  • A filter specific to images to make them easier to add
  • Non-static method Metro_Sitemap::add_entry_featured_image() should not be called statically
  • Tests
mjangda added some commits Jan 9, 2017
@mjangda mjangda Better variable name for sitemap entry xml 1d358ca
@mjangda mjangda Add thumbnail image as image:image entry
Adds back-compat handling and bails if we already find existing images
added to the sitemap entry.
@mjangda mjangda Allow images to be filterable
via the `msm_sitemap_entry_images` filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment