{"id":57,"date":"2025-05-29T04:46:39","date_gmt":"2025-05-29T04:46:39","guid":{"rendered":"http:\/\/svishwas"},"modified":"2025-06-13T06:28:03","modified_gmt":"2025-06-13T06:28:03","password":"","slug":"shortcode","status":"publish","type":"docs","link":"https:\/\/docs.psmplugins.com\/docs\/shortcode\/","title":{"rendered":"Shortcode"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"57\" class=\"elementor elementor-57\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-df4a254 e-flex e-con-boxed e-con e-parent\" data-id=\"df4a254\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7e9dc05 elementor-widget elementor-widget-text-editor\" data-id=\"7e9dc05\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div><h5>Currency Switcher Customisation<\/h5><div>This section lets you customise the appearance of the currency switcher when using its shortcode. As you adjust the settings on the left, the live preview and the generated shortcode will update automatically. Once you&#8217;re satisfied with the design, simply copy and paste the shortcode into any page, post, or widget on your website.<\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a35988a elementor-widget elementor-widget-text-editor\" data-id=\"a35988a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5>Switcher size<\/h5><div><div><div>This dropdown menu allows you to set the visual size of the currency switcher when it&#8217;s embedded via shortcode.<\/div><div>\u00a0<\/div><div>Click the dropdown arrow to view the available size options (e.g., Small, Medium).<\/div><div>\u00a0<\/div><div>Select your preferred size, and you&#8217;ll see the change reflected in both the live preview and the size attribute of the generated shortcode.<\/div><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b14c4c elementor-widget elementor-widget-text-editor\" data-id=\"4b14c4c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5>Switcher Display Options<\/h5><div><div><div>These toggles allow you to control which elements are displayed in the currency switcher when using the shortcode. As you enable or disable these options, both the live preview and the generated shortcode will update in real-time.<\/div><\/div><\/div><div><div>\u00a0<\/div><div style=\"padding-left: 40px;\"><strong>Display Elements<\/strong>:<\/div><div><ul><li style=\"list-style-type: none;\"><ul><li><em>Show Flag &#8211;<\/em><ul><li><strong>Enabled:<\/strong> Displays a flag icon representing the selected currency\u2019s country. \u2192 Adds flag=&#8221;1&#8243; to the shortcode.<\/li><li><strong>Disabled:<\/strong> Hides the flag icon. \u2192 Removes flag=&#8221;1&#8243; from the shortcode.<\/li><\/ul><\/li><\/ul><\/li><li style=\"list-style-type: none;\">\u00a0<ul><li>\u00a0<em>Show Currency Name &#8211;\u00a0<\/em><ul><li><strong>Enabled:<\/strong> Displays the full name of the currency (e.g., &#8220;Indian Rupee&#8221;). \u2192 Adds name=&#8221;1&#8243; to the shortcode.<\/li><li><strong>Disabled:<\/strong> Hides the currency name. \u2192 Removes name=&#8221;1&#8243; from the shortcode.<\/li><\/ul><\/li><\/ul><\/li><li style=\"list-style-type: none;\">\u00a0<ul><li>\u00a0Show Currency Symbol &#8211;<ul><li><strong>Enabled:<\/strong> Displays the currency symbol (e.g., &#8220;\u20b9&#8221;). \u2192 Adds symbol=&#8221;1&#8243; to the shortcode.<\/li><li><strong>Disabled:<\/strong> Hides the symbol. \u2192 Removes symbol=&#8221;1&#8243; from the shortcode.<\/li><\/ul><\/li><\/ul><\/li><li style=\"list-style-type: none;\">\u00a0<ul><li><em>Show Currency Code &#8211;<\/em><ul><li><strong>Enabled:<\/strong> Displays the three-letter ISO code (e.g., &#8220;INR&#8221;). \u2192 Adds code=&#8221;1&#8243; to the shortcode.<\/li><li><strong>Disabled:<\/strong> Hides the currency code. \u2192 Removes code=&#8221;1&#8243; from the shortcode.<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9eb9536 elementor-widget elementor-widget-text-editor\" data-id=\"9eb9536\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5>Preview<\/h5><div><p>This section provides a real-time visual representation of the currency switcher, based on your selected settings.\u00a0<\/p><\/div><div><ul><li><strong>Visual Display:<\/strong> Shows how the switcher will look on the frontend, updating instantly as you change the Switcher Size and Display Options.<\/li><li><strong>Generated Shortcode:<\/strong> Located below the preview, this shortcode updates automatically based on your selections.<\/li><\/ul><div>\u00a0<\/div><pre>[psm-multi-currency-switcher size=\"medium\" flag=\"1\" name=\"1\" symbol=\"1\" code=\"1\"]<\/pre><div>\u00a0<\/div><\/div><ul><li><div><div><strong>Copy Icon:<\/strong> Click the copy icon next to the shortcode to copy it to your clipboard. You can paste it into any post, page, or widget area that supports shortcodes.<\/div><\/div><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b192083 e-flex e-con-boxed e-con e-parent\" data-id=\"b192083\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7bab837 elementor-widget elementor-widget-video\" data-id=\"7bab837\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;video_type&quot;:&quot;hosted&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"e-hosted-video elementor-wrapper elementor-open-inline\">\n\t\t\t\t\t<video class=\"elementor-video\" src=\"https:\/\/docs.psmplugins.com\/wp-content\/uploads\/2025\/05\/Screen-Recording-2025-06-06-142939.mp4\" controls=\"\" preload=\"auto\" controlsList=\"nodownload\"><\/video>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Currency Switcher Customisation This section lets you customise the appearance of the currency switcher when using its shortcode. As you adjust the settings on the left, the live preview and the generated shortcode will update automatically. Once you&#8217;re satisfied with the design, simply copy and paste the shortcode into any page, post, or widget on [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[6],"doc_tag":[],"knowledge_base":[12],"class_list":["post-57","docs","type-docs","status-publish","hentry","doc_category-display","knowledge_base-psm-multi-currency"],"year_month":"2026-05","word_count":364,"total_views":"130","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Nikhil Gawali","author_nicename":"nikhilg","author_url":"https:\/\/docs.psmplugins.com\/author\/nikhilg\/"},"doc_category_info":[{"term_name":"Display","term_url":"https:\/\/docs.psmplugins.com\/docs\/psm-multi-currency\/display\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"PSM Multi Currency","term_url":"https:\/\/docs.psmplugins.com\/docs\/psm-multi-currency\/","term_slug":"psm-multi-currency"}],"knowledge_base_slug":["psm-multi-currency"],"_links":{"self":[{"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/docs\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":16,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/docs\/57\/revisions"}],"predecessor-version":[{"id":600,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/docs\/57\/revisions\/600"}],"wp:attachment":[{"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/doc_category?post=57"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/doc_tag?post=57"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/docs.psmplugins.com\/wp-json\/wp\/v2\/knowledge_base?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}