Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- piklist('field', array(
- 'type' => 'group'
- ,'field' => 'carousel'
- ,'add_more' => true
- ,'label' => __('Carousel Slides')
- ,'description' => __('This is an example of how to build a list with multiple element types.')
- ,'add_more' => true
- ,'fields' => array(
- array(
- 'type' => 'text'
- ,'field' => 'image_url'
- ,'label' => __('Image URL (960x280)')
- ,'columns' => 3
- ,'attributes' => array(
- 'placeholder' => __('http://health2con.com/wp-content/uploads/2012/08/matthewscowl.jpeg')
- )
- )
- ,array(
- 'type' => 'text'
- ,'field' => 'slide_destination'
- ,'label' => __('Slide Destination')
- ,'columns' => 3
- ,'attributes' => array(
- 'placeholder' => __('http://health2con.com/events/surprisesawait')
- )
- )
- ,array(
- 'type' => 'textarea'
- ,'field' => 'slide_caption'
- ,'label' => __('Slide Caption')
- ,'columns' => 4
- ,'attributes' => array(
- 'placeholder' => __('http://health2con.com/events/surprisesawait')
- )
- )
- )
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement