Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    For what I understood, you are storing the slider in the options table.

    There are 3 possibilities to get your options in the strings translations tab of Polylang. The first 2 are compatible with WPML:
    1. use a wpml-config.xml file
    2. use the functions icl_register_string() / icl_t()
    3. use the functions pll_register_string() / pll__()

    The advantage of the first 2 is obviously that you get compatible with 2 multilingual plugins in one shot. The 3rd one allows you to choose whether to have a text input field or a textarea.

    Then you can sanitize your options with the filter pll_sanitize_string_translation

    Just one warning, if you load the option before the ‘wp’ action has been fired, the translation of the option will not work on frontend for users who decide to set the language from the content in Polylang settings (no problem in all other cases).

    Hi Chouby and SKTThemes

    I’m using one of the SKT themes (Nature One) on a bilingual site with Polylang and I’m also missing the translation feature on the home page for the slider “Title” and “Description” strings.
    In the Nature One theme I am also missing translation fields for the “Recent Work” Title and the “Blog section heading” fields.

    I understand PHP and would be ready to hack my theme files, but unfortunately I do not understand how to implement any one of the “3 possibilities” mentioned by Chouby in his answer in this discussion.

    @sktthemes, have you made any progress re this feature since your last post here?

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

The topic ‘SKT Full Width Slider’ is closed to new replies.