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
Hi @gchtr, Thanks for sharing this solution!
I hope Elliot will take it in consideration as a starting point for a final solution.
I think that selection of acf tabs should happen only if you are saving the post.
Your solution will store the last opened tab and open it every time I open the edit post. It a great starting point, and I’m just using it. But I suppose that should works something like this:
1. When I click on an acf tab this tab is stored in a hidden field.
2. When Saving post this field is stored (or sended to next query ?? ).
3. When reloading the edit post screen if this value is stored in the database it will be get and removed from the db, just for using it only one time.
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.