BUG custom post type | WordPress.org

[ad_1]

Hello @ujangid, thank you for using my plugin and for contacting me about this bug.

I see what you mean, this is unfortunate. Will look into it today.

Kind regards
Joeri

Thanks for the response, great plugin by the way

Hi, thank you @ujangid 😀

I just released a new version (1.6.5), can you confirm whether it works again with your custom post type?

Unfortunately, I did not conclusively find out what code change on my part caused this exactly, I suspect it could be a theme or plugin that hooks into pre_get_posts, to ‘protect’ their custom post types. But I changed a bit of code to get the correct post directly from the db (only when setting up the domain, so the plugin is not slower by any means), circumventing any filters and stuff.

For me that solved the problem. Thank you for bringing this to my attention.
Let me know if it does not work for you.

Kind regards,
Joeri

I used ACF for post type and tried to use CPT UI and both were not working this morning.
even though it may not have changed much from your code update.

It’s amazing that it’s working now, you really are an expert.

thanks for the response and the update

May God reward you

 

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