Exceptions list
-
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
-
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?
@theamnesic, have you been able to solve the issue?
I assume the issue has been resolved. Feel free to reopen if it has not been, @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 “asperiores”: https://www.dropbox.com/s/tweoruq8ry2m7jz/hyphen.png?dl=0I 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!
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
hyphensset toautoinstead ofmanual.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!
@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 thehyphensproperty, don’t check the CSS files, look at what the browser applies. It might be the default setting.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.)
Hum …
I’m gonna make some tests and I’ll let you know.Thanks for your help!
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).
@theamnesic, have you been able to find out anything?
@theamnesic Have you been able to resolve the issue?
I’ll assume you have been able to resolve the issue, @theamnesic. If not, feel free to reopen the thread.
The topic ‘Exceptions list’ is closed to new replies.