Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello Dominik!

    Yeah this is a know issue since I implemented the Archive Page. I had to force upload/image fields to use “basic” version. This is due to WordPress not initializing the WP Media tools/dependencies on this specific part of the administration.

    I didn’t found a workaround for the moment tho. I’ll try to dig a little further.

    Sorry for the inconvenience.

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello!

    Just to let you know that I found a solution for your problem! ??

    The fix will be included in the next patch, but it is not fully ready yet. In the meantime, you can patch it yourself, here are the instructions:

    \acf-extended\includes\locations\post-type-archive.php:361
    Delete the line: acf_update_setting('uploader', 'basic');

    At the end of the file, add the following code:

    
    add_action('in_admin_header', 'acfe_location_post_type_archive_header');
    function acfe_location_post_type_archive_header(){
        
        // Check current screen
        global $pagenow;
        if($pagenow !== 'edit.php')
            return;
        
        acf_enqueue_uploader();
        
    }
    

    You can do the same in \acf-extended\includes\locations\taxonomy-archive.php:374 if you’re using the taxonomy archive.

    Comment the line acf_update_setting('uploader', 'basic'); and add the following code at the end of the file:

    
    add_action('in_admin_header', 'acfe_location_taxonomy_archive_header');
    function acfe_location_taxonomy_archive_header(){
        
        // Check current screen
        global $pagenow;
        if($pagenow !== 'edit-tags.php')
            return;
        
        acf_enqueue_uploader();
        
    }
    

    Have a nice day! ??

    Regards.

    Thread Starter dominikkucharski

    (@dominikkucharski)

    Wow. It looks great. Thank you for your help ??

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Just to let you know that the latest ACF Extended 0.8 Update fix this bug. BTW, you should also know that the ols “Taxonomy Archive” Location has been renamed to “Taxonomy List” (same for the Post Type List location).

    You settings will be automatically converted to the new location.

    The new location called “Post Type Archive” is now a fully dynamic option page created under the targeted post type menu.

    Have a nice day!

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken Image Field on archive page’ is closed to new replies.