• Change line 44

    if (in_array($post->post_type, array('post', 'page')) && $post->post_status == 'publish') {

    to

    if (in_array($post->post_type, array_merge(array('post','page'), array_keys(get_post_types( array('_builtin' => false))) )) && $post->post_status == 'publish') {

    and line 68

    if (!in_array($post->post_type, array('post', 'page')) && $post->post_status == 'publish') {

    to

    if (!in_array($post->post_type, array_merge(array('post','page'), array_keys(get_post_types( array('_builtin' => false))) )) && $post->post_status == 'publish') {

    to enable this for custom post types as well.

    https://www.ads-software.com/extend/plugins/live-drafts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how to add custom post types to this plugin’ is closed to new replies.