Digital Intelligenz Digital Intelligenz
Digital Intelligenz Digital Intelligenz
loading
  1. Home
  2. Docy Documentation
  3. Elements
  4. Accordions Widget
Updated on January 13, 2020
  1. Home
  2. Docy Documentation
  3. Elements
  4. Accordions Widget
Updated on January 13, 2020
Docy Documentation
  • Folder icon closed Folder open iconElements
    • Tabs Widget
    • Notice / Message Widget
    • Accordions Widget
    • Cheatsheet Widget
    • Image Hotspots Widget
  • Folder icon closed Folder open iconLayouts
    • Aesthetic Banner Design
    • No Search Banner
    • Full-width Layout
    • Comment Closed
  • Folder icon closed Folder open iconContent
    • Video Widget
    • Tooltip & Direction
    • Password Protected doc
    • Keyboard Shortcuts
    • Editor Contents
      • Style Guide
  • Folder icon closed Folder open iconCode Syntax Highlight
    • Code Dark Theme
    • Code Tomorrow Theme
    • Code Okaidia Theme
    • Code Twilight Theme
  • Folder icon closed Folder open iconFootnotes
    • Footnote 2 Columns
    • Footnote 3 Columns
    • Footnote 4 Columns
  • Folder icon closed Folder open iconChangelogs
    • Changelogs Timeline
    • Second Depth
    • Demo Import
    • Plugins Installation
  • Folder icon closed Folder open iconFAQs
    • How to Paginate a Post?
    • How to set site’s favicon?
    • How to apply custom CSS code.
    • New Doc TItle

Accordions Widget

Estimated reading: 2 minutes 9381 views

Default style Toggle

Super Professional

A short rod of wood or plastic sewn to one side of a coat or other garment, pushed through a hole or loop on the other side and twisted so as to act as a fastener. Switch from one effect, feature, or state to another by using a toggle.

Dashboard

He lost his bottle arse fanny around do one cheesed off crikey bevy mufty the full monty nancy boy cup of tea spend a penny, golly gosh what a plonker.

Another Example

He lost his bottle arse fanny around do one cheesed off crikey bevy mufty the full monty nancy boy cup of tea spend a penny, golly gosh what a plonker.

Default style Accordion

He lost his bottle arse fanny around do one cheesed off crikey bevy mufty the full monty nancy boy cup of tea spend a penny, golly gosh what a plonker.

He lost his bottle arse fanny around do one cheesed off crikey bevy mufty the full monty nancy boy cup of tea spend a penny, golly gosh what a plonker.

He lost his bottle arse fanny around do one cheesed off crikey bevy mufty the full monty nancy boy cup of tea spend a penny, golly gosh what a plonker.

  • Tagged:
  • Content
  • Layout

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes 7 No 4

Related articles

  • Cheatsheet Widget
  • Table Widget
  • Aesthetic Banner Design
  • Footnote Default
  • Code Dark Theme
  • Full-width Layout
  • Notice / Message Widget
  • No Search Banner
  • See More

No Comments

  • Eh Jewel
    October 13, 2020

    Note that get_the_content doesn’t return the same thing as what the_content displays. For that you need to do this:

    $content = apply_filters( \'the_content\', get_the_content() );
    echo $content;
    
    Reply
    • Demo User
      October 13, 2020

      If you are wanting to check if a custom (non core block) is for a page or post, include the namespace/name-of-block:

      if ( has_block( \'my-namespace/block-name\' ) ) {
       // Do stuff here.
      }
      
      Reply
  • Eh Jewel
    October 13, 2020
    // Note: does not support arrays
    if ( has_block( array( \'gallery\', \'button\' ) ) ) {
        // error
    }
     
    // Use || instead
    if ( has_block( \'gallery\' ) || has_block( \'button\' ) ) {
        // Do something.
    }
    
    Reply

Leave a Comment Cancel reply

Share this Doc

Accordions Widget

Or copy link

Clipboard Icon
CONTENTS

Powered By EazyDocs

Doc Contents

Doc Footnotes

Doc Elements

© 2025 All Rights Reserved by Spider-Themes