Jetpack’s Related Posts will automatically work with your site’s Posts, but you can also use it with other Custom Post Types you might have, like Events, a Portfolio, or even Products. In order to get Related Posts to index and display on your Custom Post Types, you will need to add this function and filter:
function allow_my_post_types($allowed_post_types) { $allowed_post_types[] = 'your-post-type'; return $allowed_post_types; } add_filter( 'rest_api_allowed_post_types', 'allow_my_post_types' );
Please note you will need to edit the code above and replace your-post-type with your Custom Post Type. We also do advise that you Reindex your site so that Jetpack will know of the new changes. You can Reindex your site by clicking Jetpack on your site’s Dashboard, and scrolling down and clicking the “Debug” link at the bottom of the page. From there you will have a “Reindex Posts” available. If you are not seeing the Related Posts show up right away with your Custom Post Types, try clearing your browser and site’s cache.