本文整理汇总了PHP中Magee_Core::sliders_meta方法的典型用法代码示例。如果您正苦于以下问题:PHP Magee_Core::sliders_meta方法的具体用法?PHP Magee_Core::sliders_meta怎么用?PHP Magee_Core::sliders_meta使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Magee_Core
的用法示例。
在下文中一共展示了Magee_Core::sliders_meta方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
/*-----------------------------------------------------------------------------------*/
/* Default Options
/*-----------------------------------------------------------------------------------*/
global $magee_shortcodes, $magee_sliders;
$magee_sliders = Magee_Core::sliders_meta();
$choices = array('yes' => 'Yes', 'no' => 'No');
$reverse_choices = array('no' => 'No', 'yes' => 'Yes');
$choices_with_default = array('' => 'Default', 'yes' => 'Yes', 'no' => 'No');
$reverse_choices_with_default = array('' => 'Default', 'no' => 'No', 'yes' => 'Yes');
$leftright = array('left' => 'Left', 'right' => 'Right');
$dec_numbers = array('0.1' => '0.1', '0.2' => '0.2', '0.3' => '0.3', '0.4' => '0.4', '0.5' => '0.5', '0.6' => '0.6', '0.7' => '0.7', '0.8' => '0.8', '0.9' => '0.9', '1' => '1', '2' => '2', '2.5' => '2.5', '3' => '3');
$animation_type = array('' => 'None', "bounce" => "bounce", "flash" => "flash", "pulse" => "pulse", "rubberBand" => "rubberBand", "shake" => "shake", "swing" => "swing", "tada" => "tada", "wobble" => "wobble", "bounceIn" => "bounceIn", "bounceInDo ... //#注:代码行过长, 已省略后续字符...
$columns = array("" => "default", "1" => "1/12", "2" => "2/12", "3" => "3/12", "4" => "4/12", "5" => "5/12", "6" => "6/12", "7" => "7/12", "8" => "8/12", "9" => "9/12", "10" => "10/12", "11" => "11/12", "12" => "12/12");
// Fontawesome icons list
$icons = array('fa-glass' => '\\f000', 'fa-music' => '\\f001', 'fa-search' => '\\f002', 'fa-envelope-o' => '\\f003', 'fa-heart' => '\\f004', 'fa-star' => '\\f005', 'fa-star-o' => '\\f006', 'fa-user' => '\\f007', 'fa-film' => '\\f008', 'fa-th-large ... //#注:代码行过长, 已省略后续字符...
$checklist_icons = array('icon-check' => '\\f00c', 'icon-star' => '\\f006', 'icon-angle-right' => '\\f105', 'icon-asterisk' => '\\f069', 'icon-remove' => '\\f00d', 'icon-plus' => '\\f067');
/*-----------------------------------------------------------------------------------*/
/* Shortcode Selection Config
/*-----------------------------------------------------------------------------------*/
$magee_shortcodes['shortcode-generator'] = array('no_preview' => true, 'params' => array(), 'shortcode' => '', 'popup_title' => '');
/*-----------------------------------------------------------------------------------*/
/* Accordion Config
/*-----------------------------------------------------------------------------------*/
$magee_shortcodes['accordion'] = array('no_preview' => true, 'icon' => 'fa-list-ul', 'params' => array('class' => array('std' => '', 'type' => 'text', 'label' => __('CSS Class', 'magee-shortcodes'), 'desc' => __('Add a class to the wrapping HTML e ... //#注:代码行过长, 已省略后续字符...
/*-----------------------------------------------------------------------------------*/
/* Alert Config
/*-----------------------------------------------------------------------------------*/
$magee_shortcodes['alert'] = array('no_preview' => true, 'icon' => 'fa-exclamation-circle', 'params' => array('icon' => array('type' => 'iconpicker', 'label' => __('Icon', 'magee-shortcodes'), 'desc' => __('Click an icon to select, click again to ... //#注:代码行过长, 已省略后续字符...
/*******************************************************