Image Sitemap support #104

Open
wants to merge 3 commits into
from

Projects

None yet

1 participant

@mjangda
Member
mjangda commented Jan 9, 2017 edited

See #61 (and https://support.google.com/webmasters/answer/178636?hl=en)

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.
cf737b9
@mjangda mjangda Allow images to be filterable
via the `msm_sitemap_entry_images` filter
8b8e5dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment