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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.