• Thanks for the plugin!

    I’m just building as site with FAQs. The Q’s and A’s are quite short and listed on one page, so they don’t have individual permalinks (i.e. public = false). The listing page just gets them all and lists them.

    Obviously this is a great place to use your plugin, to let users submit questions that are reviewed, answered and published by editors. However, the drop-down that lets you let the post type to save as only seems to include CPTs set as public.

    What’s the logic here? Might it be better to just exclude _builtin post types?

    https://wordpress.org/plugins/gravity-forms-custom-post-types/

Viewing 1 replies (of 1 total)
  • Thread Starter Steve Taylor

    (@gyrus)

    After testing, it looks like $args = array( 'show_ui' => true ) is the best option here. Excluding built-in types excludes posts and (importantly) pages. No args includes revisions and nav items. Including types with a UI seems best.

    I’m going to hack the plugin for now. Let me know if it’s possible to include this change in the next release, or if I need to fork 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Save as non-public CPT’ is closed to new replies.