Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    I’m trying to use this plugin on V3.8 using the above code, but it’s not working. My custom post type is called ‘events’ so I’m using this code:

    function publish_future_events_now($depreciated, $post) {
        wp_publish_post($post);
    }
    
    remove_action('future_events', '_future_post_hook');
    
    add_filter( 'wp_insert_post_data', 'futurenow_do_not_set_posts_to_future' );
    
    function futurenow_do_not_set_posts_to_future( $data ) {
        if ( $data['post_status'] == 'future' && $data['post_type'] == 'events' )
            $data['post_status'] = 'publish';
        return $data;
    }

    Anyone got it working for a CPT on 3.8?

    Thanks

    @baokhangluu my issue is the same, not sure why @esmi thinks it’s not?

    Still struggling with this, I have tried everything and using the default theme and no other plugins still doesn’t fix the problem.

    Anyone got any other suggestions? I’ve followed all the instructions that @baokhangluu included. Thanks

    I’m also having the same problem.
    When sending an attachment (71kb) and you click submit, the send arrow keeps spinning and nothing happens (the form works fine without an attachment).
    The ‘wpcf7_uploads’ folder exists and is writable. I’ve tried deactivating all other plugins and using the default theme – but it still hangs.
    Any help much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)