custom post type missing in sitemap

[ad_1]

After further debugging, I noticed an interference with Polylang. If I deactivate that plugin, the custom post type is included in the sitemap as expected. Can you think of any solution for that?

Okay, managed to solve it.

For anyone searching for this: it worked when I went to Polylang ->Settings -> Custom post types and Taxonomies -> Settings and select my custom post type (courses) to be translatable.
Afterwards open the course and hit the “save” button to update the post.
Now it is visible on the TSF sitemap.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer