Support

Account

Home Forums Backend Issues (wp-admin) Tabs not working properly in Widgets Reply To: Tabs not working properly in Widgets

  • Hi @tomlongo

    It’s possible that there is a bug here (but I’m not too sure). Could you please open a new ticket over here: http://support.advancedcustomfields.com/new-ticket?

    As a workaround for now, you can click that that tab automatically using JQuery like this:

    function my_acf_admin_footer() {
    	?>
    	<script type="text/javascript">
    	(function($){
    
    		$( document ).ready(function() {
                $("a[data-key='field_56a41f5a113cb']").click();
            });
    
    	})(jQuery);
    	</script>
    	<?php
    }
    
    add_action('acf/input/admin_footer', 'my_acf_admin_footer');

    I hope this helps.