Title: Remove the &#8220;Show/Hide Content&#8221; button
Last modified: September 20, 2018

---

# Remove the “Show/Hide Content” button

 *  Resolved [Beau Vinci Violins](https://wordpress.org/support/users/beau-vinci-violins/)
 * (@beau-vinci-violins)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove-the-show-hide-content-button/)
 * How do you get rid of the the “show/hide content” toggle button in the body?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-the-show-hide-content-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove-the-show-hide-content-button/#post-10709682)
 * Hi [@beau-vinci-violins](https://wordpress.org/support/users/beau-vinci-violins/),
   the show/hide content is only available when you subscribe to a giveaway so subscribers
   can see the sharing buttons sooner.
 * This is where we show the button: [https://plugins.trac.wordpress.org/browser/giveasap/trunk/includes/giveasap-template-functions.php#L613](https://plugins.trac.wordpress.org/browser/giveasap/trunk/includes/giveasap-template-functions.php#L613)
 * And you should put a new class `shown` next to the `giveasap_section`: [https://plugins.trac.wordpress.org/browser/giveasap/trunk/includes/giveasap-template-functions.php#L604](https://plugins.trac.wordpress.org/browser/giveasap/trunk/includes/giveasap-template-functions.php#L604)
 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/remove-the-show-hide-content-button/#post-11183036)
 * Hi [@beau-vinci-violins](https://wordpress.org/support/users/beau-vinci-violins/),
 * you can now with 2.17.3 add this to your theme’s functions.php to disable the
   hide/show content button:
 * `add_filter( 'sg_use_content_hide_button', '__return_false' );`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove the “Show/Hide Content” button’ is closed to new replies.

 * ![](https://ps.w.org/giveasap/assets/icon.svg?rev=1967616)
 * [Simple Giveaways - Grow your business, email lists and traffic with contests](https://wordpress.org/plugins/giveasap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giveasap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giveasap/)
 * [Active Topics](https://wordpress.org/support/plugin/giveasap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giveasap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giveasap/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [content](https://wordpress.org/support/topic-tag/content/)
 * [hide](https://wordpress.org/support/topic-tag/hide/)
 * [show](https://wordpress.org/support/topic-tag/show/)
 * [toggle](https://wordpress.org/support/topic-tag/toggle/)

 * 2 replies
 * 2 participants
 * Last reply from: [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/remove-the-show-hide-content-button/#post-11183036)
 * Status: resolved