Advertisement
fahad_abdullah

csf-wysiwyg

Jan 5th, 2021
602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.75 KB | None | 0 0
  1. $options[]    = array(
  2.   'id'        => 'detailBox',
  3.   'title'     => 'Details',
  4.   'post_type' => 'services',
  5.   'context'   => 'normal',
  6.   'priority'  => 'high',
  7.   'sections'  => array(
  8.  
  9.     array(
  10.       'name'      => 'detailsBox',
  11.       'fields'    => array(
  12.  
  13.         array(
  14.           'id'              => 'content_details',
  15.           'type'            => 'group',
  16.           'title'           => 'Content Details',
  17.           'button_title'    => 'Add New',
  18.           'accordion_title' => 'Details',
  19.           'fields'          => array(
  20.  
  21.             array(
  22.               'id'          => 'content_title',
  23.               'type'        => 'text',
  24.               'title'       => 'Title',
  25.             ),
  26.  
  27.             array(
  28.               'id'          => 'content_icon',
  29.               'type'        => 'select',
  30.               'title'       => 'Icon',
  31.               'options'      => array(
  32.                 'lni-grid'          => 'Grid',
  33.                 'lni-crown'         => 'Crown',
  34.                 'lni-website'       => 'Website',
  35.                 'lni-codepen'       => 'Codepen',
  36.                 'lni-cogs'          => 'Cogs',
  37.                 'lni-dashboard'     => 'Dashboard',
  38.                 'lni-display'       => 'Display',
  39.                 'lni-magnet'        => 'Magnet',
  40.                 'lni-notepad'       => 'Notepad',
  41.                 'lni-world'         => 'World',
  42.               ),
  43.             ),
  44.  
  45.             array(
  46.               'id'          => 'content_description',
  47.               'type'        => 'wysiwyg',
  48.               'title'       => 'Description',
  49.               'settings' => array(
  50.                 'quicktags'     => true,
  51.               )
  52.             ),
  53.  
  54.           )
  55.         ),
  56.  
  57.       ),
  58.     ),
  59.  
  60.   ),
  61. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement