-
AuthorPosts
-
June 2, 2023 at 10:49 pm #1409442
Hallo zusammen
Wir verwenden in unseren Texte Guillemets (« / »), die im WordPress-Editor zwar als solche angezeigt werden. Selbst wenn ich die normalen ” ” verwende erscheinen sie auf der Webseite als “ / ”
Wo finde ich die Einstellungen, um die deutschen Anführungszeichen durch Guillemets zu ersetzen resp. wie definiere ich das als css?
June 4, 2023 at 3:48 am #1409512Hey Michelle,
Thanks for your question, I tested the Guillemets in a text block and they work on my test site:
« »
and the ones you posted above in the forum also are working. Perhaps you are using a custom font that doesn’t support them?
Perhaps you have a plugin causing a conflict, try disabling your plugins.
Please give this a try, if you still have problems then please include an admin login in the Private Content area and link to a test page so we can be of more assistance.Best regards,
MikeJune 5, 2023 at 6:24 pm #1409653Yes – there is a definition for those quotes in enfold-functions.php with avia_ampersand function.
but even if i overwrite that function ( as a pluggable function – it is easy to do ) i can not set for quillemets (» and. «
)i think that the lang setting for that page is disturbing the way it might work.
…if you are using the de_X setting for your page try this in your child-theme functions.php:
for copy and paste the function ( do not copy the leading
<?php
see pastbin : https://pastebin.com/JQfUCDqZPPS: all credits goes to : https://www.buchundberger.net/blog/stefan-buchberger/
June 5, 2023 at 6:56 pm #1409659June 5, 2023 at 7:09 pm #1409662June 5, 2023 at 7:15 pm #1409664you can do that by adding the html entities or by adding it by copy and paste.
But if you are writing in text-block editor and using the standard key ( shift 2 ) from your keyboard – it will insert the english opening and closing double quotes.
The language than decides how they will look like on frontend – if you choose french as page language they will automatically translated to those Guillements. in German we have those curly brackets ( and the ampersand function only changes the straight double quotes to curly double quoutes by wrapping in a span with class ) etc. pp.
But now – if your page is set to german and you like to have those guillemets this is an option to do so.PS:
On mac german keyboard ( QWERTZ)
« : option q
» : shift option q
June 6, 2023 at 12:23 pm #1409742Hi,
Thanks Guenni007, I think that I misunderstood, I thought the question was that the text element didn’t allow Guillemets.
But I guess the question was how to make the keyboard type the Guillemets, thanks for explaining how to do this I’m sure it will be helpful to many people.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.