Title: Shortcode not equal operator
Last modified: August 31, 2016

---

# Shortcode not equal operator

 *  Resolved [thepeerawards](https://wordpress.org/support/users/thepeerawards/)
 * (@thepeerawards)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/)
 * Hi
 * How do I get the code to perform an action for all browsers other than IE?
 * I want to adapt the shortcode [is_browser name=”IE”] for this, and have tried[
   is_browser name!=”IE”] and variants but get:
 * ‘Warning: strpos(): Empty needle in /home/thepeera/public_html/wp-content/plugins/
   php-browser-detection/php-browser-detection.php on line 118’
 * See [http://thepeerawards.com/browser-check/](http://thepeerawards.com/browser-check/)
 * Thank you
    Stephen
 * [https://wordpress.org/plugins/php-browser-detection/](https://wordpress.org/plugins/php-browser-detection/)

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

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-7225354)
 * You can’t do that, you’d need to write another shortcode to handle this.
 *  [xckristie](https://wordpress.org/support/users/xckristie/)
 * (@xckristie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-8361799)
 * I came here looking for a solution to the shortcode “not equal” question as well.
   Just adding my voice to say that it would be amazing if this shortcode was able
   to support it.
 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-8363947)
 * Cool we are planning a new release and will add this request to the list.
 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-8412395)
 * What is a use case for this?
 *  [rnistler](https://wordpress.org/support/users/rnistler/)
 * (@rnistler)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-8428038)
 * I also need this funtionality. Using an event plugin that utilizes shortcodes
   to display a grid based on event category. I want to place the Not Included !
   = in my shortcode category parameter.
    Example [event_board event_category!=’
   featured event’]

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

The topic ‘Shortcode not equal operator’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

## Tags

 * [not equal](https://wordpress.org/support/topic-tag/not-equal/)

 * 5 replies
 * 4 participants
 * Last reply from: [rnistler](https://wordpress.org/support/users/rnistler/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-not-equal-operator/#post-8428038)
 * Status: resolved