{"id":14112,"date":"2024-07-01T15:45:25","date_gmt":"2024-07-01T07:45:25","guid":{"rendered":"https:\/\/www.szlogic.net\/?p=14112"},"modified":"2025-02-14T22:17:52","modified_gmt":"2025-02-14T14:17:52","slug":"translateeasy-short-code","status":"publish","type":"post","link":"https:\/\/www.szlogic.net\/en\/learn\/translateeasy-short-code\/","title":{"rendered":"Shortcode Application of TranslateEasy Language Switcher"},"content":{"rendered":"<h1 class=\"wp-block-heading has-text-align-center\">TranslateEasy Multilingual Shortcode in Elementor Editor<\/h1>\n\n\n\n<p class=\"translation-block\"><strong><a href=\"https:\/\/www.szlogic.net\/en\/plugins-info\/7\/\" data-type=\"link\" data-id=\"https:\/\/www.szlogic.net\/plugins-info\/7\/\" target=\"_blank\" rel=\"noreferrer noopener\">TranslateEasy<\/a><\/strong> Multilingual Support Translation Plugin supports using shortcodes in <strong><a href=\"https:\/\/elementor.com\/\" data-type=\"link\" data-id=\"https:\/\/elementor.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Elementor<\/a><\/strong>'s page editing mode, post pages, and theme widgets to place the language switcher. In the TranslateEasy plugin settings interface under the Language Switcher section, you can find the TranslateEasy shortcode. The TranslateEasy shortcode is (simply copy and paste the following shortcode to use it):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &#91;translate-easy]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u2160\u3001 Elementor selects the \"Shortcode\" component and adds it to the container<\/h2>\n\n\n\n<p>As shown in the following figure:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"2525\" height=\"1329\" src=\"https:\/\/www.szlogic.net\/wp-content\/uploads\/2024\/07\/Elementor\u7684\u7b80\u7801\u90e8\u4ef6.png\" alt=\"Elementor\u7684\u7b80\u7801\u90e8\u4ef6\" class=\"wp-image-14120\"\/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u2161\u3001Loading TranslateEasy Shortcode with Elementor's Shortcode Widget<\/h2>\n\n\n\n<p>As shown in the image below, by entering the TranslateEasy shortcode in Elementor's shortcode input box, you can display the language switcher within an Elementor container. This allows you to place the language switcher anywhere on the page. The display style of the language switcher implemented through the shortcode is highlighted in the red box in the content window on the right side of the image.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"2514\" height=\"1284\" src=\"https:\/\/www.szlogic.net\/wp-content\/uploads\/2024\/07\/Elementor\u7b80\u7801\u90e8\u4ef6\u6dfb\u52a0TranslateEasy\u77ed\u7801.png\" alt=\"Elementor\u7b80\u7801\u90e8\u4ef6\u6dfb\u52a0TranslateEasy\u77ed\u7801\" class=\"wp-image-14121\"\/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"translation-block\"><strong>Conclusion:<\/strong> The above is the explanation on how to use TranslateEasy's shortcode to display the language switcher when editing pages with Elementor. The operation steps are very simple, and readers can follow them accordingly.<\/p>\n\n\n\n<p><strong>Logic Digital Technology (SZLOGIC) All rights reserved. Reproduction is prohibited.<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Elementor\u4e2d\u4f7f\u7528TranslateEasy\u77ed\u7801\u663e\u793a\u8bed\u8a00\u5207\u6362\u5668 TranslateEasy\u591a\u8bed\u8a00\u652f\u6301\u7ffb\u8bd1 [&hellip;]<\/p>","protected":false},"author":1,"featured_media":14114,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[183,91],"tags":[],"class_list":["post-14112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-translateeasy","category-learn"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/posts\/14112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/comments?post=14112"}],"version-history":[{"count":11,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/posts\/14112\/revisions"}],"predecessor-version":[{"id":21660,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/posts\/14112\/revisions\/21660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/media\/14114"}],"wp:attachment":[{"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/media?parent=14112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/categories?post=14112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.szlogic.net\/en\/wp-json\/wp\/v2\/tags?post=14112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}