will be shutting down on January 31st 2018. Questions? Contact Us

Template styling without messy conditionals.

NSM Body class is an EE 2.0 plugin that generates a class="" attribute value from embed template parameters allowing greater CSS styling of templates.

A quick example

The "header" embed tag inside the primary template:

{!-- Primary template: site/index --}

The embedded template:

{!-- Embed template: _includes/.header --}
<body {exp:nsm_body_class}>

Produces the following output:

{!-- HTML Output --}
<body class="eid-10 eut-my_url_title t-index tg-pages">

The plugin parses a wide range of parameters. See the tag reference for more information.

Releases RSS Feed © Copyright 2018 | Policies All prices shown are in Australian Dollars ($AUD) Newism