Custom Post Type not working with query builder

Hi,

I am trying to use a custom post type “product” with query builder but when I choose it, I can’t use elements such as “The Title” with it as they don’t seem to generate anything.

Also if I refresh the page after saving I get an error message “The preview could not load due to the iframe response being incomplete. This is most often related to a plugin conflict, or customizations introducing a PHP error.”

I just noticed, the title is being generated but only when viewing the website and not when viewing the preview.

Thanks

Hello @stevenburles,

Thanks for writing to us.

It seems that there is an issue with your custom post type, I went ahead and created another custom post type and set it in the query builder and it works fine. I would suggest you check your custom post-type settings. You may check out this tutorial to learn more about how to register custom post types. https://youtu.be/LdslrlB_y7w

Please note we don’t provide any third-party plugin support, it is out of the support scope.

Thanks for understanding

Hi @prakash_s, thanks for getting back to me. I tried changing the post types settings, removing it and re-creating it but nothing would fix it so I just made another one with a similar name which works fine.

Thanks for the help.

Hey @stevenburles,

Glad to hear that.

I’ll just comment on:

That means there’s a problem with the slug of the previously created custom post type. It’s not a Pro issue but rather an issue with your previous custom post type setup.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.