{"id":910,"date":"2020-07-21T15:27:35","date_gmt":"2020-07-21T15:27:35","guid":{"rendered":"http:\/\/demo.whmpress.com\/all\/?page_id=910"},"modified":"2020-07-21T15:46:17","modified_gmt":"2020-07-21T15:46:17","slug":"currency","status":"publish","type":"page","link":"https:\/\/demo.whmpress.com\/all\/currency\/","title":{"rendered":"currency"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"910\" class=\"elementor elementor-910\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ad7ed86 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ad7ed86\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-72ca1ee\" data-id=\"72ca1ee\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0b938c9 elementor-widget elementor-widget-heading\" data-id=\"0b938c9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Currency Related Shortcodes<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ff34938 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ff34938\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-611c1b2\" data-id=\"611c1b2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6b9a553 elementor-widget elementor-widget-heading\" data-id=\"6b9a553\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">1. Currency<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a331a8b elementor-widget elementor-widget-text-editor\" data-id=\"a331a8b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>Displays the currency being used to display prices.<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e62fe45 elementor-widget elementor-widget-currency\" data-id=\"e62fe45\" data-element_type=\"widget\" data-widget_type=\"currency.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"whmpress_domain_search\"><span id='\u00a3' class='whmpress_currency'>\u00a3<\/span><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e7fb18 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e7fb18\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d5869e\" data-id=\"0d5869e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6faef8d elementor-widget elementor-widget-heading\" data-id=\"6faef8d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">2. Currency Combo<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4a73005 elementor-widget elementor-widget-text-editor\" data-id=\"4a73005\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>Shows currency combo to change the currency for the user session, a must have if you are offering in multiple currencies. Select a different currency here and then navigate to price page or any other page to experience it.<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f1a1cb7 elementor-widget elementor-widget-currency-combo\" data-id=\"f1a1cb7\" data-element_type=\"widget\" data-widget_type=\"currency-combo.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"whmpress_domain_search\"><div id='' class='whmpress whmpress_currency_combo'>\r\n    <script>\r\n        jQuery(function(){\r\n        jQuery(\"#S751285594\").change(function(){\r\n        document.cookie='combo_hit=1';\r\n            val = jQuery(this).val();\r\n        console.log(val);\r\n            jQuery.post(WHMPAjax.ajaxurl + '?setCurrency',{'curency': val,'action':'whmpress_action'},function(data){\r\n                if (data=='OK')\r\n                    if (val == '2' || val == 'USD'){\r\n                        var currentURL = window.location.href ;\r\n                        location.href = currentURL.substring(0, currentURL.indexOf('?'));\r\n                    }else{\r\n                      location.href = '?cur=' + val;\r\n                    }\r\n                else\r\n                    alert(data);\r\n            });\r\n        });\r\n    });\r\n    <\/script>\r\n    <select id='S751285594' class=\"\" name=\"\">\n<option selected=selected value='1'>GBP<\/option><option  value='3'>USD<\/option><option  value='4'>EUR<\/option><option  value='5'>INR<\/option><\/select><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Currency Related Shortcodes 1. Currency Displays the currency being used to display prices. \u00a3 2. Currency Combo Shows currency combo to change the currency for the user session, a must have if you are offering in multiple currencies. Select a different currency here and then navigate to price page or any other page to experience [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/demo.whmpress.com\/all\/currency\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":[],"_links":{"self":[{"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/pages\/910"}],"collection":[{"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/comments?post=910"}],"version-history":[{"count":5,"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/pages\/910\/revisions"}],"predecessor-version":[{"id":920,"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/pages\/910\/revisions\/920"}],"wp:attachment":[{"href":"https:\/\/demo.whmpress.com\/all\/wp-json\/wp\/v2\/media?parent=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}