function section_opts() { $opts = array(array('title' => __('Columnizer Configuration', 'pagelines'), 'type' => 'multi', 'opts' => array(array('key' => 'columnizer_area', 'type' => 'select', 'opts' => get_sidebar_select(), 'title' => __('Select Widgetized Area', 'pagelines'), 'label' => __('Select widgetized area', 'pagelines'), 'help' => __("Select the widgetized area you would like to use with this instance.", 'pagelines')), array('key' => 'columnizer_cols', 'type' => 'count_select', 'count_start' => 1, 'count_number' => 12, 'default' => '3', 'label' => __('Number of Grid Columns for Each Widget (12 Col Grid)', 'pagelines')))), array('key' => 'columnizer_help', 'col' => 2, 'type' => 'link', 'url' => admin_url('widgets.php'), 'title' => __('Widgetized Areas Help', 'pagelines'), 'label' => sprintf('<i class="icon icon-retweet"></i> %s', __('Edit Widgetized Areas', 'pagelines')), 'help' => __("This section uses widgetized areas that are created and edited in inside your admin.", 'pagelines')), array('key' => 'columnizer_description', 'col' => 2, 'type' => 'textarea', 'title' => __('Column Site Description', 'pagelines'), 'label' => __('Column Site Description', 'pagelines'), 'help' => __("If you use the default display of the columnizer, this field is used as a description of your company. You may want to add your address or links.", 'pagelines'))); if (!class_exists('CustomSidebars') && !function_exists('otw_sml_plugin_init')) { $opts[] = array('key' => 'widgetizer_custom_sidebars', 'type' => 'link', 'col' => 3, 'url' => 'http://wordpress.org/plugins/sidebar-manager-light/screenshots/', 'title' => __('Get A Sidebars Plugin', 'pagelines'), 'label' => __('<i class="icon icon-external-link"></i> Check out Sidebar Manager plugin', 'pagelines'), 'help' => __("We have detected that you don't either the Custom Sidebars or Sidebar Manager plugins installed. We recommend you install a plugin that allows you to create custom widgetized areas on demand.", 'pagelines')); } return $opts; }
function section_opts() { $opts = array(array('key' => 'widgetizer_area', 'type' => 'select', 'opts' => get_sidebar_select(), 'title' => 'Select Widgetized Area', 'label' => 'Select widgetized area', 'help' => "Select the widgetized area you would like to use with this instance of Widgetizer."), array('key' => 'widgetizer_help', 'type' => 'link', 'url' => admin_url('widgets.php'), 'title' => 'Widgetized Areas Help', 'label' => '<i class="icon icon-retweet"></i> Edit Widgetized Areas', 'help' => "This section uses widgetized areas that are created and edited in inside your admin.", 'col' => 2)); if (!class_exists('CustomSidebars')) { $opts[] = array('key' => 'widgetizer_custom_sidebars', 'type' => 'link', 'url' => 'http://wordpress.org/extend/plugins/custom-sidebars/', 'title' => 'Get Custom Sidebars', 'label' => '<i class="icon icon-external-link"></i> Check out plugin', 'help' => "We have detected that you don't have the Custom Sidebars plugin installed. We recommend you install this plugin to create custom widgetized areas on demand.", 'col' => 2); } return $opts; }
function section_opts() { $opts = array(array('key' => 'ba_fotos_contact_sb_area', 'type' => 'select', 'opts' => get_sidebar_select(), 'title' => __('Select Widget Area', 'fotos'), 'label' => __('Select a widget area', 'fotos'), 'help' => __('Select the widget area you would like to use.', 'fotos')), array('key' => 'ba_fotos_contact_help', 'type' => 'link', 'url' => admin_url('widgets.php'), 'title' => __('Widget Areas Help', 'fotos'), 'label' => __('<i class="icon-retweet"></i> Edit Widget Areas', 'fotos'), 'help' => __('This section uses widgetized areas that are created and edited in inside your admin.', 'fotos')), array('key' => 'ba_fotos_contact_form_layout', 'type' => 'check', 'title' => __('Form Alignment', 'fotos'), 'help' => __('Ticking this will make the form move to the left, with the widget area on the right.', 'fotos'))); if (!class_exists('CustomSidebars')) { $opts[] = array('key' => 'ba_fotos_contact_sb_custom_sidebars', 'type' => 'link', 'url' => 'http://wordpress.org/extend/plugins/custom-sidebars/', 'title' => __('Get Custom Sidebars', 'fotos'), 'label' => __('<i class="icon-external-link"></i> Check out plugin', 'fotos'), 'help' => __('We have detected that you don\'t have the Custom Sidebars plugin installed. We recommend you install this plugin to create custom widgetized areas on demand.', 'fotos')); } return $opts; }