Support

Account

Home Forums Backend Issues (wp-admin) Tabs – On save post, bouncing back to first tab Reply To: Tabs – On save post, bouncing back to first tab

  • This bugged me a lot. So I wrote a small class to handle this:
    https://gist.github.com/gchtr/2d371918f3778683c61f629dbc545972

    Whenever a tab is selected in a post, a transient containing the current tab index is saved via AJAX. When a post is loaded, it checks the transient and selects the last selected tab via JavaScript.

    Hopefully, a proper solution for this will soon be implemented into ACF.