Title: Help with additional shortcode feature in cleanprint.php
Last modified: August 20, 2016

---

# Help with additional shortcode feature in cleanprint.php

 *  Resolved [Scott](https://wordpress.org/support/users/sdc05/)
 * (@sdc05)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-additional-shortcode-feature-in-cleanprintphp/)
 * First off. I’m not a developer so I need some clear instructions, what goes where
   kind of thing would be most helpful as I’m still learning.
 * I’m building a responsive site. I am using the shortcode in a text widget and
   I have a couple of text widgets in a single sidebar. When the site is loaded 
   into a tablet I no longer need the CP button and I want to hide the text widget
   containing the shortcode. That means hiding the entire
 *     ```
       <aside id="" class="imageBox-left">
           <h1 class="widget-title">Some Text</h1>
           <div class="textwidget">
               <a class="cleanprint-exclude">BUTTON</a>
           </div>
       </aside>
       ```
   
 * I wrote this little script and it works great in JSfiddle but I can’t just add
   it to the footer or header of the page it looks like it needs to go into the 
   shortcode php file.
 * `jquery('.cleanprint-exclude').parents('.imageBox-left').addClass('CP-widget');`
 * What I want to do is add an additional class to the parent <aside class=”imageBox-
   left”> and then with a media query for tablet size screen display:none; to the
   entire <aside>.
 * What would be the best way to do this?
 * By the way. Love the plugin, but tablets don’t normally print.
 * [http://wordpress.org/extend/plugins/cleanprint-lt/](http://wordpress.org/extend/plugins/cleanprint-lt/)

The topic ‘Help with additional shortcode feature in cleanprint.php’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cleanprint-lt_3c3c3c.svg)
 * [CleanPrint](https://wordpress.org/plugins/cleanprint-lt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleanprint-lt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleanprint-lt/)
 * [Active Topics](https://wordpress.org/support/plugin/cleanprint-lt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleanprint-lt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleanprint-lt/reviews/)

## Tags

 * [additional features](https://wordpress.org/support/topic-tag/additional-features/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [Scott](https://wordpress.org/support/users/sdc05/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-additional-shortcode-feature-in-cleanprintphp/)
 * Status: resolved