Limitation on post types
-
Hi, thank you for this great plugin.
As figured in Query settings by @heisel, there is a limitation in the number of post types.
I have a legacy website with almost 10 custom post types and only one is selectable.
It can be easily fixed by removing the implicit limit in gutenberg/components/post-type-selector-control/index.jsx line 60
replace:
const postTypes = getPostTypes();
by:
const postTypes = getPostTypes({ per_page: -1 });
Could you implement it?
- The topic ‘Limitation on post types’ is closed to new replies.