WP Manifestindependent plugin directory
manifest / editor / wp-expand

Expand Button

This WordPress plugin adds a TinyMCE button that surrounds the selected area with a DIV.expand

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/emumarketing/wp-expand/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This simple WordPress plugin adds site support for collapsible content sections. Wrap sections in a div with class="expand", or highlight in the editor and click the + icon. Note that, as currently implemented, the section must have a header, it must be the first item in the selection (immediately after the opening div tag), and it must be an h2 or h3 element.

This version relies on an icon from Font Awesome, which will be replaced in the future. In the mean time, if your theme does not have Font Awesome support, you can grab a Font Awesome plugin to enable support.