Title: chestel's Replies | WordPress.org

---

# chestel

  [  ](https://wordpress.org/support/users/chestel/)

 *   [Profile](https://wordpress.org/support/users/chestel/)
 *   [Topics Started](https://wordpress.org/support/users/chestel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/chestel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/chestel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/chestel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/chestel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/chestel/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Really Simple Share] [Plugin: Really simple Facebook Twitter share buttons] how to exclude from given pages](https://wordpress.org/support/topic/plugin-really-simple-facebook-twitter-share-buttons-how-to-exclude-from-given-pages/)
 *  Thread Starter [chestel](https://wordpress.org/support/users/chestel/)
 * (@chestel)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-really-simple-facebook-twitter-share-buttons-how-to-exclude-from-given-pages/#post-1999579)
 * Hi whiletrue,
 * I’m sure you’ll come up with something more elegant.
 * For the time being, I putting an override where the value of really_simple_share_disable
   is ignored if the really_simple_share was called with the shortcode.
 * So I can disable the auto insertion for pages where there are collisions but 
   still insert really_simple_share manually with the shortcode.
 *     ```
       // IF THE "DISABLE" CUSTOM FIELD IS FOUND, BLOCK EXECUTION
       	// unless the shortcode was used in which case assume the disable
       	// should be overridden, allowing us to disable general settings for a page
       	// but insert buttons in a particular content area
       	$custom_field_disable = get_post_custom_values('really_simple_share_disable');
       	if ($custom_field_disable[0]=='yes' and $filter!='shortcode') {
       		return $content;
       	}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Really Simple Share] [Plugin: Really simple Facebook Twitter share buttons] how to exclude from given pages](https://wordpress.org/support/topic/plugin-really-simple-facebook-twitter-share-buttons-how-to-exclude-from-given-pages/)
 *  Thread Starter [chestel](https://wordpress.org/support/users/chestel/)
 * (@chestel)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-really-simple-facebook-twitter-share-buttons-how-to-exclude-from-given-pages/#post-1999574)
 * Wow – thanks for the speedy update.
 * really_simple_share_disable works well with pages where a second page sample 
   or excerpt is embedded, as the parent page can just have this added.
 * Where a page has more than one content area (e.g. using Secondary HTML plugin)
   really_simple_share_disable applies to both areas, making the button’s appearance
   all or nothing. I’ll look for a way to target this.

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