Section Page a simple plugin allowing you to insert dropdown sections in your wordpress pages and posts.
Prerequisite
This plugin loads wordpress jQuery.
Options
- HTML tag for section title : Can be
h1
h2
(by default) h3
h4
span
strong
em
p
- HTML classes for section : Additional html classes for each sections (optionnal)
- HTML classes for section title : Addtional html classes for each sections title (optionnal)
- HTML classes for section title wrapper : Addtional html classes for each sections title container (optionnal)
- HTML classes for section content : Additional html classes for each sections content (optionnal)
- Use a char before section title : Add or not html chars at the left of each sections title
- Char when section is closed : Char when a section is closed (default :
►
)
- Char when section is open : Char when a section is open (default :
▼
)
- Use animation : Smooth or instant dropdown
- Custom Css : Customize the plugin here (optionnal)
Usage
The plugin add a "Add dropdown section" button to your tinymce editor.\
Select your block of text and click the button to wrap the text into a section shortcode.
[section=Title of my section]
Your content
...
[endsection]
This will be automatically replaced by a dropdown section based on the plugin settings.
Customization
Use the Custom Css option with the custom classes options.\
You can also modify your theme css file if you are using wordpress on your ftp.\
Now when a section is open, it receive the css class
owc-sp-active
so you can use it for more customization.