I realize that Flutter isn't technically up-to-date with 3.0.1, but I find it extremely useful for my end users. Still, I wanted to use it alongside some custom post types.
I was experiencing an issue where after installing Flutter, every time I saved a custom post type, the post_type setting was saved as a "post" instead of the custom type.
I narrowed this down to a function in flutter, and modified it to accommodate CPTs.
function is in /fresh-page/Main.php. Modified section in bold.
function cwp_add_type_identifier(){
global $wpdb;
global $post;
if( isset($_GET['custom-write-panel-id']) && !empty($_GET['custom-write-panel-id']))
{
$getPostID = $wpdb->get_results("SELECT id, type FROM ". RC_CWP_TABLE_PANELS ." WHERE id='".$_GET['custom-write-panel-id']."'");
echo "<input type=\"hidden\" id=\"post_type\" name=\"post_type\" value=\"". $getPostID[0]->type ."\" />";
}
else{
<strong> echo "<input type=\"hidden\" id=\"post_type\" name=\"post_type\" value=\"".$post->post_type."\" />";
/* if($post->post_type == 'page') {
echo "<input type=\"hidden\" id=\"post_type\" name=\"post_type\" value=\"page\" />";
} else {
echo "<input type=\"hidden\" id=\"post_type\" name=\"post_type\" value=\"post\" />";
}*/</strong>
}