Support

Account

Forum Replies Created

  • Thx John… copy that – you are absolutely right. But why I’m wondering was the fact that the new Post will show the image from another author but not the gallery items.

    we are using the following action to restrict users fro their own media/posts:

     if( is_admin() && !current_user_can('edit_others_posts') ) {
            $wp_query->set( 'author', $current_user->ID )...

    With this function we normale did’t see the ACF groups in a post too.
    so we were using this snippet

    if (isset($wp_query->query_vars['post_type']) && 
        ($wp_query->query_vars['post_type'] == 'acf-field' || 
         $wp_query->query_vars['post_type'] == 'acf-field-group'
        )) { return; }

    and to fix the problem with the Gallery we were adding on more condition:

    if (isset($wp_query->query_vars['post_type']) && 
        ($wp_query->query_vars['post_type'] == 'acf-field' || 
         $wp_query->query_vars['post_type'] == 'acf-field-group' || 
         ($pagenow == 'post.php')
        )) {return; }

    cheers

  • Arg – sorry guys – we were using this 3rd party plugin for ACF to include some Video/Audio Type … but after the latest update it seems, that we can’t us to anymore…

    https://github.com/ipsips/acf-audio-video

  • Here is the completed Log of my safari after press the button of Audio/Video Typ

    TypeError: acf.media._get_media_frame_settings is not a function. (In 'acf.media._get_media_frame_settings({title:n.settings.title,multiple:n.settings.multiple,library:{},states:[]},n.settings)', 'acf.media._get_media_frame_settings' is undefined)
    createFrame — SelectFrame.js:35
    e — SelectFrame.js:28
    add — index.js:156
Viewing 3 posts - 1 through 3 (of 3 total)