Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to add tabs in my test-plugin. I have add a folder '3 test plugin' with file '3 test-plugin.php'. I have activate plugin and add in the setting admin menu. Please give the details of adding tabs in my plugin file. thanks in advance. file code is follow:

Hello World Options

Enter Text " /> (ex. Hello World)

" />

share|improve this question
    
where you want to add the tabs? –  Moaz Ateeq Dec 9 '13 at 10:17
    
codex.wordpress.org/Settings_API –  ahmetlutfu Dec 9 '13 at 11:09
add comment

1 Answer

up vote 0 down vote accepted

If you are looking to add tabs in admin page then you can try doing this:

<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>
  <a class="nav-tab" href="#">Test5</a>
  <a class="nav-tab" href="#">Test6</a>
</h3>

this will give you native look and feel

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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