Title: Exclude selector jQuery
Last modified: April 22, 2021

---

# Exclude selector jQuery

 *  Resolved [bmrtrek](https://wordpress.org/support/users/bmrtrek/)
 * (@bmrtrek)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/)
 * Hello,
 * I’m totally beginner in jQuery… and nothing works with my tests…
 * Could you please tell me exactly what to write in the exclusion field to exclude
   my company name “Bureau Montagne Réunion” (but I don’t want to exclude all the
   words “Montagne”, which appear in the text.
 * many thanks,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-selector-jquery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Prisna](https://wordpress.org/support/users/prisna/)
 * (@prisna)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14353077)
 * Greetings,
 * In the home page, there are 4 occurrences of the _Bureau Montagne Réunion_ text;
   and none of them are alone within its container element, so you can’t exclude
   the text using that setting. Leaving you with only one solution, you should wrap
   all these texts within a HTML element with the _notranslate_ class attribute.
   For instance, if the text is:
 * `du Bureau Montagne Réunion, le`
 * You should modify it in the following way:
 * `du<span class="notranslate"> Bureau Montagne Réunion</span>, le`
 * Regards
 *  Thread Starter [bmrtrek](https://wordpress.org/support/users/bmrtrek/)
 * (@bmrtrek)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14363582)
 * OK, thank you for your answer.
 *  Thread Starter [bmrtrek](https://wordpress.org/support/users/bmrtrek/)
 * (@bmrtrek)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14363657)
 * Well, it’s OK for the body of the site, someone could tell me how to not translate
   my title, in the menu ? (WP theme : Neve, free)
    Thank you,
 *  Plugin Author [Prisna](https://wordpress.org/support/users/prisna/)
 * (@prisna)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14364037)
 * To exclude the site title, you should go to:
 * `Advanced > General > Exclude selector (jQuery)`
 * Use:
 * `.site-title`
 * Regards
 *  Thread Starter [bmrtrek](https://wordpress.org/support/users/bmrtrek/)
 * (@bmrtrek)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14364426)
 * yeah, that is simple and great ! thank you.
 * That would deserve a button “exclude title”…
 * BR,
 *  Plugin Author [Prisna](https://wordpress.org/support/users/prisna/)
 * (@prisna)
 * [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14364449)
 * Good to know it worked fine.
 * It’s not possible to have such a button because the selector we sent you is for
   your theme only. Other themes may or may not use the same HTML structure, so 
   we can’t assume it’ll always be the same.
 * Regards

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

The topic ‘Exclude selector jQuery’ is closed to new replies.

 * ![](https://ps.w.org/google-website-translator/assets/icon-128x128.png?rev=1732883)
 * [Prisna GWT - Google Website Translator](https://wordpress.org/plugins/google-website-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-website-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-website-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-website-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-website-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-website-translator/reviews/)

## Tags

 * [exclusion](https://wordpress.org/support/topic-tag/exclusion/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * 6 replies
 * 2 participants
 * Last reply from: [Prisna](https://wordpress.org/support/users/prisna/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/exclude-selector-jquery/#post-14364449)
 * Status: resolved