• Resolved theamnesic

    (@theamnesic)


    Hi!

    When I add a word in the exceptions list in the settings, it still have a ­ entity (an ACF field filtered as text).

    Any idea?
    Does this setting work for you?

    Thanks!

    — G

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author pepe

    (@pputzer)

    Hi @theamnesic! Have you tried to clear the cache (browser and/or your server’s page cache if it has one)? If you’ve already done that, can you please post a screenshot of your hyphenation settings and a link to an example page?

    Plugin Author pepe

    (@pputzer)

    @theamnesic, have you been able to solve the issue?

    Plugin Author pepe

    (@pputzer)

    I assume the issue has been resolved. Feel free to reopen if it has not been, @theamnesic.

    Thread Starter theamnesic

    (@theamnesic)

    Sorry pepe, didn’t see your replies!

    I still have this issue with the exceptions.

    A screenshot of my settings: https://www.dropbox.com/s/apwux105pgki7cc/options.png?dl=0
    A screenshot of the front with the word “aspe­riores”: https://www.dropbox.com/s/tweoruq8ry2m7jz/hyphen.png?dl=0

    I have a doubt : the exceptions list is to cut a word that should not have been, or exclude a word from hyphenation (a company name, for exemple) ?

    We can’t exclude a word on the general scope tab, that’s why I’m not sure.

    Thanks!

    Plugin Author pepe

    (@pputzer)

    I’ve reopened the thread, @theamnesic. Can you link to an example page with the problem? I’d like to be able look at the source code generated. I suspect that’s an issue with the CSS property hyphens set to auto instead of manual.

    Thread Starter theamnesic

    (@theamnesic)

    Unfortunately I can’t show you the source code now, the website is still in développement…

    But I can confirm that there is no hyphens property in any of my CSS files.

    Tell me how I can help!

    Plugin Author pepe

    (@pputzer)

    @theamnesic please make a screenshot of that part of the page source code in Chrome (not another browser, Chrome shows ­ decoded in the source view, other browsers don’t). As for the hyphens property, don’t check the CSS files, look at what the browser applies. It might be the default setting.

    Thread Starter theamnesic

    (@theamnesic)

    Plugin Author pepe

    (@pputzer)

    I’ll look further into. I’ve tried the fragment et architecto asperiores ut. in the underlying PHP-Typography library with French hyphenation patterns and the exception works as expected:

    
    [ 'et architecto asperiores ut.', 'et ar­chi­tec­to as­pe­riores ut.', [], 'fr', false, true, false, true ],
    [ 'et architecto asperiores ut.', 'et ar­chi­tec­to asperiores ut.', [ 'asperiores' ], 'fr', false, true, false, true ],
    

    The first string is the input, the second the expected result, the array the list of exceptions, the the language code, and then various checkboxes for titles, all caps, mixed-case, compound words. (All minimum lengths are set to 2 for the test, to maximize the number of generated hyphens.)

    Thread Starter theamnesic

    (@theamnesic)

    Hum …
    I’m gonna make some tests and I’ll let you know.

    Thanks for your help!

    Plugin Author pepe

    (@pputzer)

    Maybe check again for caching issues on various levels (wp-Typography’s built-in cache should auto clear, but you can do so manually from the settings page to make sure; also full-page caches might affect the issue).

    Plugin Author pepe

    (@pputzer)

    @theamnesic, have you been able to find out anything?

    Plugin Author pepe

    (@pputzer)

    @theamnesic Have you been able to resolve the issue?

    Plugin Author pepe

    (@pputzer)

    I’ll assume you have been able to resolve the issue, @theamnesic. If not, feel free to reopen the thread.

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

The topic ‘Exceptions list’ is closed to new replies.