Automattic / Automattic/jetpack

Related Posts: provide per post type check box to enable/disable

Open
#10,067 5 comments 0 reactions 0 assignees View on GitHub
[Feature] Related Posts [Pri] Low Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Currently, Related Posts will show on any post and there are a range of [customization options](https://jetpack.com/support/related-posts/customize-related-posts/#woocommerce).

One of these could be turned into a feature identical to Likes and Sharing:

![https://cloudup.com/curVvgbXn8W](https://cloudup.com/curVvgbXn8W+)
Image link: https://cloudup.com/curVvgbXn8W

Proposal - add UI section to Settings or Customizer to allow per post type to control if Related Posts should be shown.

Customizer:
![https://cloudup.com/co5NjuDZC17](https://cloudup.com/co5NjuDZC17+)
Image link: https://cloudup.com/co5NjuDZC17

Reading Settings:
![https://cloudup.com/csopaQT9qVT](https://cloudup.com/csopaQT9qVT+)
Image link: https://cloudup.com/csopaQT9qVT

Primarily this would be to add support for WooCommerce Products since there is the feature [Related Products](https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/#section-3) and adds support for [Related posts on Pages](https://jetpack.com/support/related-posts/customize-related-posts/#display-on-pages).

Forum thread which started this - https://wordpress.org/support/topic/related-posts-plugin-shows-in-product-pages/

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Related Posts customization options and the comparable Likes and Sharing controls, then trace how Related Posts decides which post types to display. Done means a Settings or Customizer control can enable or disable Related Posts per post type, including Pages and WooCommerce Products, with the selected behavior reflected on the site.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.