• Resolved John Mulder

    (@john-mulder)


    Hi,

    Thanks for this plugin, it works great.

    Is there a possibility to use a button per language ?
    I have a site in 4 languages and would like the button to trigger a different action depending upon the language. Or define 4 buttons who are shown on their respective language. Or hide 3 buttons in the other language ?
    BTW i use the WPML plugin

    Thanks,
    John

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I’ve got the same problem.
    is there any solution?

    Kind regards
    Wolli

    Hi,
    I’d like to get the same thing.

    Thanks.

    Kind regards

    Plugin Author Maeve Lander

    (@enigmaweb)

    Hi folks, this is not a feature of the plugin currently. PR requests welcome via Github: https://github.com/maevelander/sticky-side-buttons/

    Hi folks, I’ve done a workaround with css!
    Create all language-buttons and hide the not required ones with css:

    /*ALL FRENCH BUTTONS hidden in german site*/
    html:lang(de-DE) #ssb-btn-4,
    html:lang(de-DE) #ssb-btn-5,
    html:lang(de-DE) #ssb-btn-6,
    html:lang(de-DE) #ssb-btn-7 {
    display:none;
    }
    /*ALL GERMAN BUTTONS hidden in french site*/
    html:lang(fr-FR) #ssb-btn-0,
    html:lang(fr-FR) #ssb-btn-1,
    html:lang(fr-FR) #ssb-btn-2,
    html:lang(fr-FR) #ssb-btn-3 {
    display:none;
    }

    Hope it will help You
    wolli

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

The topic ‘Dfferent button on different languages’ is closed to new replies.