Plugin

EE 1
EE 2
Shine Slugger

Developer

Shine Marketing

3rd Party (Free)

Creative Commons Attribution Non-Commercial No Derivatives Download v1.0

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Slugger shows or hides the content between its tag pair depending on whether a specified string is found in the current URL. Ideal for use on development versions of sites (e.g. dev.website.com), or on specific pages (e.g. "contact/thanks").

Installation

Drop the slugger folder inside [system]/expressionengine/third_party.

Usage: Show

{exp:slugger:show find=“dev.”}
    <meta name=“robots” content=“noindex,nofollow” />
{/exp:slugger:show}

Usage: Hide


{exp:slugger:hide find=“dev.|contact/thanks”}
    <script type=“text/javascript”>

        Analytics Code

    </script>
{/exp:slugger:hide}

Notes

This plugin accepts multiple find strings using the | (pipe) delimiter.

Download Shine Slugger

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0 2012-01-31 05:05 PM

This entry was last updated February 6, 2012, 11:32 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!