Desktop Logo
Mobile Logo
MENU
  • Home
  • Themes
    • Exopite Theme
    • Exopite Theme Demo
    • Exopite WordPress Starter Theme
  • Plugins
    • Exopite Multifilter
    • Exopite Lightbox
    • Exopite Responsive Displayer
    • Exopite Lazy Load XT
    • Exopite Notificator
    • Exopite SEO Core
    • Exopite Combiner and Minifier
    • Exopite Simple Options Framework
    • Exopite Frontend Notifications
    • Anti Spam for Contact Form 7
    • Exopite Integrity
  • Blog
  • Contact
  • Legal
    • Disclaimer
    • Legal Notice
    • Privacy Policy
    • Terms of Use
  • Home
  • Themes
    • Exopite Theme
    • Exopite Theme Demo
    • Exopite WordPress Starter Theme
  • Plugins
    • Exopite Multifilter
    • Exopite Responsive Displayer
    • Exopite Notificator
    • Exopite Simple Options Framework
    • Exopite Frontend Notifications
    • Exopite Lightbox
    • Exopite Lazy Load XT
    • Exopite SEO Core
    • Exopite Combiner and Minifier
    • Anti Spam for Contact Form 7
    • Exopite Integrity
  • Blog
  • Contact
Home » Exopite » Exopite Simple Options Framework for WordPress » Accordion
Please note: We are building the site new, it is under heavy construction!

Accordion

Toggle between hiding and showing HTML content.

array(
    'id'          => 'accordion_1',
    'type'        => 'accordion',
    'title'       => esc_html__( 'Accordion', 'plugin-name' ),
    'options' => array(
        'allow_all_open' => false,  // optional, minimum one is always open
    ),
    'sections'        => array(

        array(
            'options' => array(
                'icon'   => 'fa fa-star',
                'title'  => 'Section 1',
                'closed' => false,  // optional, this accordion item is open in page load
            ),
            'fields' => array(

                // your fields...
                // eg.:
                array(
                    'id'    => 'accordion_1_section_1_text_1',
                    'type'  => 'text',
                    'title' => esc_html__( 'Accordion 1 Text 1', 'plugin-name' ),
                    'default' => 'default text',
                ),

            ),
        ),

        array(
            'options' => array(
                'icon'   => 'fa fa-star',
                'title'  => 'Section 2',
            ),
            'fields' => array(

                // your fields...

            ),
        ),

        array(
            'options' => array(
                'icon'   => 'fa fa-star',
                'title'  => 'Section 3',
            ),
            'fields' => array(

                // your fields...

            ),
        ),
    ),
),
Fields:
  • Accordion
  • ACE field
  • Attached
  • Backup
  • Button
  • Botton bar
  • Card
  • Checkbox
  • Color
  • Content
  • Date
  • Editor
  • Gallery
  • Gallery
  • Group
  • Hidden
  • Image
  • Image select
  • Notice
  • Number
  • Password
  • Radio
  • Range
  • Select
  • Switcher
  • Tab
  • Tap list
  • Text
  • Textarea
  • Typography
  • Upload
  • Video
  • Disclaimer
  • Legal Notice
  • Privacy Policy
  • Terms of Use
This website is using only strictly necessary cookies (if any). More information OK
Disclaimer | Legal Notice | Privacy Policy | Terms of Use