Expanding Text plugin

Wordpress Themes Plugins and Tutorials

This WordPress plugin allows you to create sections of text in your post or page which expand/collapse when clicked on. You simply wrap the special tags around your text, and set the ‘expand link’ (the link visitors click on to show the text). If your visitors do not have javascript enabled, the ‘expand link’ is not shown, and the text is displayed normally.

  • Plugin Homepage

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory. Make sure you add this using the html/code editor in WordPress, not the visual editor. In new versions of WordPress, just click the ‘html’ button above the edit box. If you use the visual editor it will not work, as the actual code you entered will be seen on the page, instead of being processed by the script.

    Example: How to use

    [DDET Click to expand!]
    Here is your text!
    Click again to close!

    [wbcr_html_snippet id=”4340″]
    [wbcr_html_snippet id=”4346″]