1

In my plugin settings page i have to add a lot more settings. To get it correct I need some tabs for better understanding. Here a screenshot as I add it with simple html coding in my rdp-plugin/includes/settings.php

enter image description here

<h3 class="nav-tab-wrapper">     
<a class="nav-tab nav-tab-active" href="#">Test1</a>
<a class="nav-tab" href="#">Test2</a>
<a class="nav-tab" href="#">Test3</a>
<a class="nav-tab" href="#">Test4</a>
</h3>

But how can I declare some inputs in the tabs 2-6 for editing + saving per tab into table wp_options?

tab-1 is main page of settings file. with a form method="post" i can save the settings from that part correct. but how to do this for the remain tabs is not clear for me.

Found a sample plugin for tabs at plugin-welcome-screen-example but could not get the code from the plugin running in my settings.php file. The example plugin does work standalone. But I do not understand how to get it working in my plugin.

Maybe somebody of you can give me a hint getting tabs working as ask.

1 Answer 1

0

For everybody with the same question: i have found a good working solution at howto_js_tabs.asp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.