Viewing 1 replies (of 1 total)
  • Thread Starter fuchsws

    (@fuchsws)

    figured it out:

    Edit “seo_redirect_301s.php” and add custom post type (in my case “product”):

    Line 60:

    $my_post = TomM8::get_row("posts", "*", "post_type IN ('page', 'post', 'product') AND ID=".$my_revision->post_parent);

    Line 111:

    $acceptable_values = array("post", "page", "product");

    Line 155:

    $screens = array( 'post', 'page', 'product' );

    also make sure your custom post type support revisions, as this is required:

    add_action('init', 'alter_post_type_support');
    function alter_post_type_support() {
    	add_post_type_support('product', 'revisions' );
    }

    would be great if this plugin would have settings for tracked post types, which also makes sure post type support for revisions is enabled.

Viewing 1 replies (of 1 total)
  • The topic ‘Support for Custom Post Types’ is closed to new replies.