Advertisement
sumakaki

config-icon-box

Nov 8th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. <?php if ( ! defined( 'FW' ) ) {
  2.     die( 'Forbidden' );
  3. }
  4.  
  5. $options = array(
  6.     'style'   => array(
  7.         'type'    => 'select',
  8.         'label'   => __('Box Style', 'fw'),
  9.         'choices' => array(
  10.             'fw-iconbox-1' => __('Icon above title', 'fw'),
  11.             'fw-iconbox-2' => __('Icon in line with title', 'fw')
  12.         )
  13.     ),
  14.     'icon'    => array(
  15.         'type'  => 'icon',
  16.         'label' => __('Choose an Icon', 'fw'),
  17.     ),
  18.     'title'   => array(
  19.         'type'  => 'text',
  20.         'label' => __( 'Title of the Box', 'fw' ),
  21.     ),
  22.     'content' => array(
  23.         'type'  => 'textarea',
  24.         'label' => __( 'Content', 'fw' ),
  25.         'desc'  => __( 'Enter the desired content', 'fw' ),
  26.     ),
  27.     'custom_class' => array(
  28.         'type'  => 'text',
  29.         'label' => 'Ваш класс',
  30.         'desc'  => 'К этому классу будут назначаться стили',
  31.     ),
  32.  
  33. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement