Title: vir2al options
Author: Nico Martin
Published: <strong>2015-05-16</strong>
Last modified: 2016-06-02

---

Szukaj wtyczek

![](https://ps.w.org/vir2al-options/assets/banner-772x250.jpg?rev=1161656)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/vir2al-options/assets/icon-256x256.jpg?rev=1161656)

# vir2al options

 Autor: [Nico Martin](https://profiles.wordpress.org/nico_martin/)

[Pobierz](https://downloads.wordpress.org/plugin/vir2al-options.1.0.3.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/vir2al-options/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/vir2al-options/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/vir2al-options/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/vir2al-options/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/vir2al-options/)

## Opis

This Plugin let’s you create an beautiful options page based on AJAX.

**Note:** This PlugIn is made for Developers only. If you are not the Developer 
of the theme or plugin. Ask your developer.

SetUp

 1. Create a File called „options.php”.
 2. Add the following to your functions.php or plugin.php
     < ?php //check if plugin
    exists if(function_exists ('create_vtl_options_page')){ include('options.php');
    add_action('admin_menu', 'register_options_pages'); } else { function vtco_error_notice(){
    echo '
 3. ’.__(’You need to Install the Plugin „vir2al options”’).’
 4. ’;
     } add_action( 'admin_notices’, 'vtco_error_notice’ ); } ?>

options.php

    ```
    <?php
    function vtco_register_settings_pages(){
        //Add any Page you want here
        add_options_page( 'Additional Options', 'Additional Options', 'manage_options', 'addoptions', 'options_cbfunc');
    }

    function options_cbfunc(){
      ob_start();
      // create your form ?>
      <fieldset data-name="Tab 1">
          <table>
              <tr>
                  <td>Test</td>
                  <td><?php echo get_vtlo_input('option_name'); ?></td>
              </tr>
          </table>
      </fieldset>
      <fieldset data-name="Tab 2">
          <table>
              <tr>
                  <td>Test Image</td>
                  <td><?php echo get_vtlo_imgupload('option_name_img'); ?></td>
              </tr>
          </table>
       </fieldset>
       <?php
       $html=ob_get_contents();
       ob_end_clean();
       //let the magic happen
       return create_vtl_options_page($html);
    }
    ?>
    ```

Possible inputs

**Textarea:** get_vtlo_textarea(name);
 **Input:** get_vtlo_input(name); **Select:**
get_vtlo_select(name,options_array); **IMG:** get_vtlo_imgupload(name); **Multi 
IMG:** get_vtlo_multiimgupload(name); **Colorinput:** get_vtlo_colorinput(name,default_color);

## Zrzuty ekranu

[⌊the options Page⌉⌊the options Page⌉[

the options Page

## Instalacja

This section describes how to install the plugin and get it working.

e.g.

 1. Install the Plugin either via the WordPress.org plugin directory, or by uploading
    the files to your server.
 2. Activate the Plugin
 3. You’re ready to set up your Options Page.

## Najczęściej zadawane pytania

  No questions yet

Please feel free to contact me: nico@vir2al.ch

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„vir2al options” jest oprogramowaniem open source. Poniższe osoby miały wkład w 
rozwój wtyczki.

Zaangażowani

 *   [ Nico Martin ](https://profiles.wordpress.org/nico_martin/)

[Przetłumacz wtyczkę “vir2al options” na swój język.](https://translate.wordpress.org/projects/wp-plugins/vir2al-options)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/vir2al-options/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/vir2al-options/) lub czytaj
[dziennik rozwoju](https://plugins.trac.wordpress.org/log/vir2al-options/) przez
[RSS](https://plugins.trac.wordpress.org/log/vir2al-options/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0

 * First Version

## Meta

 *  Wersja **1.0.3**
 *  Ostatnia aktualizacja **10 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 4.0 lub nowszej **
 *  Testowano do **4.5.33**
 *  Język
 * [English (US)](https://wordpress.org/plugins/vir2al-options/)
 * Tag
 * [options](https://pl.wordpress.org/plugins/tags/options/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/vir2al-options/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/vir2al-options/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/vir2al-options/reviews/)

## Zaangażowani

 *   [ Nico Martin ](https://profiles.wordpress.org/nico_martin/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/vir2al-options/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.paypal.me/NicoMartin)