Automattic / Automattic/jetpack

Feature Request: Post Exclusion for Sitemaps

Open
#9,276 6 comments 0 reactions 0 assignees View on GitHub
[Feature] Sitemaps [Pri] Low New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

We currently have these two sitemap filters:
- [`jetpack_sitemap_skip_post`](https://github.com/Automattic/jetpack/blob/12648fad888d48e2647b1a2aa07e756035e6f2ee/modules/sitemaps/sitemap-builder.php#L993)
- [`jetpack_sitemap_news_skip_post`](https://github.com/Automattic/jetpack/blob/12648fad888d48e2647b1a2aa07e756035e6f2ee/modules/sitemaps/sitemap-builder.php#L1229)

A nice addition might be something in the Post/Page UI, such as:

![2018-04-10_15-10-16](https://user-images.githubusercontent.com/1563559/38588256-5be671f4-3cd1-11e8-8345-4a8a95c5ef4b.png)

Contributor guide

Open the contributing guide

Research direction

Start with modules/sitemaps/sitemap-builder.php, especially the existing jetpack_sitemap_skip_post and jetpack_sitemap_news_skip_post filters. Then inspect the Post/Page UI context suggested by the issue and its screenshot. Done means providing a decided, working way to exclude selected posts or pages from sitemaps.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.