• Resolved Doobeedoo

    (@doobeedoo)


    Hello,

    Thank you for this free plugin, it’s needed!

    It’s not working for me for now – will it work only when we have <!–:fr–> ?

    I have <html lang=”fr-FR” but no <!–:fr–>

    Many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    Which plugin are you using to manage your multilingual content?

    js.

    Thread Starter Doobeedoo

    (@doobeedoo)

    It’s just a French website, no multilingual?plugin

    Plugin Author JS Morisset

    (@jsmoriss)

    By default, the post content is considered French, so if you’re not using a multilingual plugin that inserts <!--:fr--> in your post content, then there’s nothing to do. And if you’re using a multilingual plugin that does use <!--:fr--> to manage multiple languages in one post content, there’s still nothing to do as the multilingual plugin manages those different sections itself.

    js.

    Thread Starter Doobeedoo

    (@doobeedoo)

    Hello JS,

    Thank you for your answer

    Plugin JSM Non-Breaking Space is activated
    Website is using core WP: Blocksy + Greenshift (no page builder)
    In local (localWP), so I cannot send the URL

    But still there are line breaks just before “?”, and no nbsp in the source

    What can I do more to debug this and find out why it’s not working?

    Plugin Author JS Morisset

    (@jsmoriss)

    The nbsp character will only be added when WordPress applies its filters when showing the webpage on the front-end. If you have a caching plugin, you could try clearing it’s cache.

    These are the standard filters that JSM NBSP hooks:

    https://github.com/jsmoriss/nbsp-french/blob/main/nbsp-french.php#L39-L47

    js.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can it work without’ is closed to new replies.