archive won't work after disabling translations for custom post type
-
Hi.
First I had translations enabled for my custom post type.
Then I disabled it. Now the archive template for the custom post type doesn’t work anymore.The output of wp_query shows that Polylang tries to find translations even though they don’t exist anymore (I actually removed all postmeta _translations from the database that was connected to the custom post type). I really can’t find a solution on this and I’m considering deleting the plugin and then reinstall it. But I have a lot of pages and posts that I would manually have to set to two languages after reactivating Polylang, and it would be a lot of work.
Any solutions how to sweep out or control the query for an archive with posts in no language?
Basically what I want Polylang to do is keeping the language chosen by the visitor and not control the output of these custom post types. Should be possible?
- The topic ‘archive won't work after disabling translations for custom post type’ is closed to new replies.