Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Sitemap support #104

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Image Sitemap support #104

wants to merge 3 commits into from

Conversation

mjangda
Copy link
Member

@mjangda mjangda commented Jan 9, 2017

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

Adds back-compat handling and bails if we already find existing images
added to the sitemap entry.
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant