• Resolved bmrtrek

    (@bmrtrek)


    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 to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Prisna

    (@prisna)

    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

    (@bmrtrek)

    OK, thank you for your answer.

    Thread Starter bmrtrek

    (@bmrtrek)

    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

    (@prisna)

    To exclude the site title, you should go to:

    Advanced > General > Exclude selector (jQuery)

    Use:

    .site-title

    Regards

    Thread Starter bmrtrek

    (@bmrtrek)

    yeah, that is simple and great ! thank you.

    That would deserve a button “exclude title”…

    BR,

    Plugin Author Prisna

    (@prisna)

    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.