Skip navigation

Resolved by author

Resolved in: Salient 16.2.0

Topic Tags: Compatibility

Overview of the issue

If you are using Salient theme, you will experience that content within «Nectar Video Player» and «Badge» widgets is not available for translation in WPML’s Advanced Translation Editor (ATE).

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Go to WPML > Settings > Custom XML Configuration page.
  • Add the following XML for the Nectar Video Player widget:
    <wpml-config>
      <shortcodes>
        <shortcode>
            <tag>nectar_video_player_self_hosted</tag>
            <attributes>
                <attribute>video_mp4</attribute>
                <attribute>video_image</attribute>
            </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
    <wpml-config>
    
  • Or this one for the Badge widget:
    <wpml-config>
      <shortcodes>
        <shortcode>
        	<tag>nectar_badge</tag>
          	<attributes>
          		<attribute>text</attribute>
            </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
    

Написать ответ

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

Вы можете использовать эти метки:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>