This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

vir2al options


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.


  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')){
    add_action('admin_menu', 'register_options_pages');
    } else {
    function vtco_error_notice() {
    echo '

    ‘.__(‘You need to Install the Plugin “vir2al options”‘).’

    add_action( ‘admin_notices’, ‘vtco_error_notice’ );
    } ?>


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(){
  // create your form ?>
  <fieldset data-name="Tab 1">
              <td><?php echo get_vtlo_input('option_name'); ?></td>
  <fieldset data-name="Tab 2">
              <td>Test Image</td>
              <td><?php echo get_vtlo_imgupload('option_name_img'); ?></td>
   //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);

عکس‌های صفحه

  • the options Page


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


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

سوالات متداول

No questions yet

Please feel free to contact me:

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“vir2al options” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “vir2al options” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات


  • First Version