Title: BUG custom post type
Last modified: May 9, 2024

---

# BUG custom post type

 *  Resolved [ujangid](https://wordpress.org/support/users/ujangid/)
 * (@ujangid)
 * [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/)
 * Custom Post Type didn’t work, at first I was sure the settings were because my
   server had an error
 * However, after I tried downloading versions 1.5.0 and 1.5.2 everything went smoothly.
 * [https://example.com/customposttype/urllink](https://example.com/customposttype/urllink)
 * urlink.example.com
   urlink.com
 * everything is okay,, i think bug star from 1.6.0 – 16.2

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * (@ruigehond)
 * [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/#post-17743073)
 * Hello [@ujangid](https://wordpress.org/support/users/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
 *  Thread Starter [ujangid](https://wordpress.org/support/users/ujangid/)
 * (@ujangid)
 * [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/#post-17743926)
 * Thanks for the response, great plugin by the way
 *  Plugin Author [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * (@ruigehond)
 * [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/#post-17744051)
 * Hi, thank you [@ujangid](https://wordpress.org/support/users/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
 *  Thread Starter [ujangid](https://wordpress.org/support/users/ujangid/)
 * (@ujangid)
 * [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/#post-17744209)
 * 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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘BUG custom post type’ is closed to new replies.

 * ![](https://ps.w.org/each-domain-a-page/assets/icon-256x256.png?rev=2969273)
 * [Each domain a page](https://wordpress.org/plugins/each-domain-a-page/)
 * [Support Threads](https://wordpress.org/support/plugin/each-domain-a-page/)
 * [Active Topics](https://wordpress.org/support/plugin/each-domain-a-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/each-domain-a-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/each-domain-a-page/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ujangid](https://wordpress.org/support/users/ujangid/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/bug-custom-post-type/#post-17744209)
 * Status: resolved