Tagged: button
-
AuthorPosts
-
June 13, 2018 at 4:23 pm #972341
Hi,
after Enfold 4.4.1 upgrade, all av_button labels with an apostrophe (so we use delimiters double quote) has been changed like this :
Before :
[av_button label="Bilan : 4 ans de MOOC à l'IMT" link='manually,https://www.imt.fr/bilan-mooc/' link_target='' size='x-large' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' admin_preview_bg='' av_uid='av-222kpxz']After :
[av_button label='Bilan : 4 ans de MOOC à l'IMT' link='manually,https://www.imt.fr/bilan-mooc/' link_target='' size='x-large' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' admin_preview_bg='' av_uid='av-222kpxz']Of course, the buttons are displayed with a label “Click Me” and we have to, manually, changed all these buttons to use double quote for delimiters for these labels… Hard work.
Could you tell me more about this problem ?
Best regards,
Olivier.- This topic was modified 6 years, 6 months ago by Oli.
June 14, 2018 at 3:44 pm #972840Hey Oli,
Maybe, it is easier to use the html entity instead of changing quotes?
https://www.toptal.com/designers/htmlarrows/punctuation/apostrophe/Best regards,
VictoriaJune 14, 2018 at 3:57 pm #972851Hello Victoria,
it’s not easier because ‘ is one character on our keyboard and ' is mush longer to type ;)
And even if I use ' when I go back on the editor, it’s changed to ‘ character (in the text tab) so on the next save, the label become “Click me” …
With double quotes as delimiters, no problem.Best reards,
June 15, 2018 at 3:05 pm #973350Hi Oli,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJune 15, 2018 at 3:52 pm #973368Hi Victoria,
OK, I send you credentials in private part.
Best regards,
Olivier.June 17, 2018 at 4:13 pm #973913Hi Olivier,
Do you have the page where it is broken?
Best regards,
VictoriaJune 18, 2018 at 11:32 am #974181Hello,
yes, but the site is on line, the button is OK : URL : https://www.imt.fr/imt/presentation/ (button on bottom of the page “Les écoles de l’IMT”)
But when you put :
– a single quote, it’s broken ;
– an ', it’s rewritten in a single quote, and it’s broken at the next save of the pageJune 19, 2018 at 9:04 pm #974956Hi,
Quotes cant work on the shortcodes output we are afraid.
Best regards,
BasilisJune 20, 2018 at 11:35 am #975214Hi Basilis,
it works when we use double-quotes as delimiters. It’s not the point, I just ask about an automatic change, after 4.4.1 upgrade (it could be related), from double-quotes to single quote.
Why it happens because we had all our buttons’ labels broken and hard work to fix it ?Best regards,
Olivier.- This reply was modified 6 years, 6 months ago by Oli.
June 20, 2018 at 11:34 pm #975574Hi,
Thanks for the update.
This is an old issue with the theme elements and we haven’t been able to fixed it. Please install the following plugin then use this text or placeholder in place of the single quotes.
###34###
Best regards,
IsmaelJune 21, 2018 at 3:04 pm #975819Hi Ismael,
after installation of this plugin, ###34### is new delimiter for the label value ? Could we use single quote too or only this new delimiter ?
And nobody answered my first question : why double-quotes had been replaced by single after 4.4.1 upgrade ?
Best regards,
Olivier.June 22, 2018 at 6:40 am #976102Hi,
That is the placeholder for the single quotes. You can add more placeholders by editing the plugin file directly. These are the available placeholders…
$this->translate = array( '###lt###' => '<', '###gt###' => '>', '###amp###' => '&', '###91###' => '[', '###93###' => ']', '###quot###' => '"', '###34###' => "'" );
And nobody answered my first question : why double-quotes had been replaced by single after 4.4.1 upgrade ?
I’m not really sure if this has been replaced so I have no idea why. I’m sorry.
Best regards,
IsmaelJune 22, 2018 at 10:31 am #976208Hi Ismael,
OK, thanks a lot.
Have a nice day.
Oli.June 22, 2018 at 10:47 am #976221Hi Oli,
Glad Ismael helped you to get it working.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.