{"id":1818,"date":"2023-03-14T12:33:18","date_gmt":"2023-03-14T12:33:18","guid":{"rendered":"https:\/\/www.bijdenboer.com\/?post_type=custom_blocks&#038;p=1818"},"modified":"2023-03-14T12:34:57","modified_gmt":"2023-03-14T12:34:57","slug":"multi-langue-switcher","status":"publish","type":"custom_blocks","link":"https:\/\/www.bijdenboer.com\/en\/custom-block\/multi-langue-switcher\/","title":{"rendered":"Multi Langue Switcher"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1818\" class=\"elementor elementor-1818\" data-elementor-post-type=\"custom_blocks\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-15e23ba elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"15e23ba\" 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<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-496efc8\" data-id=\"496efc8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f03db06 elementor-widget elementor-widget-shortcode\" data-id=\"f03db06\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"trp_language_switcher_shortcode\">\n<div class=\"trp-language-switcher trp-language-switcher-container\" data-no-translation >\n    <div class=\"trp-ls-shortcode-current-language\">\n        <a href=\"#\" class=\"trp-ls-shortcode-disabled-language trp-ls-disabled-language\" title=\"English\" onclick=\"event.preventDefault()\">\n\t\t\t<img decoding=\"async\" class=\"trp-flag-image\" src=\"https:\/\/www.bijdenboer.com\/wp-content\/plugins\/translatepress-multilingual\/assets\/images\/flags\/en_US.png\" width=\"18\" height=\"12\" alt=\"en_US\" title=\"English\"> EN\t\t<\/a>\n    <\/div>\n    <div class=\"trp-ls-shortcode-language\">\n                <a href=\"#\" class=\"trp-ls-shortcode-disabled-language trp-ls-disabled-language\"  title=\"English\" onclick=\"event.preventDefault()\">\n\t\t\t<img decoding=\"async\" class=\"trp-flag-image\" src=\"https:\/\/www.bijdenboer.com\/wp-content\/plugins\/translatepress-multilingual\/assets\/images\/flags\/en_US.png\" width=\"18\" height=\"12\" alt=\"en_US\" title=\"English\"> EN\t\t<\/a>\n                    <a href=\"https:\/\/www.bijdenboer.com\/wp-json\/wp\/v2\/custom_blocks\/1818\/#TRPLINKPROCESSED\" title=\"Fran\u00e7ais de Belgique\">\n            <img decoding=\"async\" class=\"trp-flag-image\" src=\"https:\/\/www.bijdenboer.com\/wp-content\/plugins\/translatepress-multilingual\/assets\/images\/flags\/fr_BE.png\" width=\"18\" height=\"12\" alt=\"fr_BE\" title=\"Fran\u00e7ais de Belgique\"> FR        <\/a>\n\n            <a href=\"https:\/\/www.bijdenboer.com\/nl\/wp-json\/wp\/v2\/custom_blocks\/1818\/#TRPLINKPROCESSED\" title=\"Nederlands (Belgi\u00eb)\">\n            <img decoding=\"async\" class=\"trp-flag-image\" src=\"https:\/\/www.bijdenboer.com\/wp-content\/plugins\/translatepress-multilingual\/assets\/images\/flags\/nl_BE.png\" width=\"18\" height=\"12\" alt=\"nl_BE\" title=\"Nederlands (Belgi\u00eb)\"> NL        <\/a>\n\n        <\/div>\n    <script type=\"application\/javascript\">\n        \/\/ need to have the same with set from JS on both divs. Otherwise it can push stuff around in HTML\n        var trp_ls_shortcodes = document.querySelectorAll('.trp_language_switcher_shortcode .trp-language-switcher');\n        if ( trp_ls_shortcodes.length > 0) {\n            \/\/ get the last language switcher added\n            var trp_el = trp_ls_shortcodes[trp_ls_shortcodes.length - 1];\n\n            var trp_shortcode_language_item = trp_el.querySelector( '.trp-ls-shortcode-language' )\n            \/\/ set width\n            var trp_ls_shortcode_width                                               = trp_shortcode_language_item.offsetWidth + 16;\n            trp_shortcode_language_item.style.width                                  = trp_ls_shortcode_width + 'px';\n            trp_el.querySelector( '.trp-ls-shortcode-current-language' ).style.width = trp_ls_shortcode_width + 'px';\n\n            \/\/ We're putting this on display: none after we have its width.\n            trp_shortcode_language_item.style.display = 'none';\n        }\n    <\/script>\n<\/div>\n<\/div><\/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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"template":"","custom_blocks_category":[],"class_list":["post-1818","custom_blocks","type-custom_blocks","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Multi Langue Switcher - Bijdenboer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bijdenboer.com\/en\/custom-block\/multi-langue-switcher\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Multi Langue Switcher - Bijdenboer\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bijdenboer.com\/en\/custom-block\/multi-langue-switcher\/\" \/>\n<meta property=\"og:site_name\" content=\"Bijdenboer\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-14T12:34:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/\",\"url\":\"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/\",\"name\":\"Multi Langue Switcher - Bijdenboer\",\"isPartOf\":{\"@id\":\"https:\/\/www.bijdenboer.com\/#website\"},\"datePublished\":\"2023-03-14T12:33:18+00:00\",\"dateModified\":\"2023-03-14T12:34:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.bijdenboer.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Blocks\",\"item\":\"https:\/\/www.bijdenboer.com\/custom-block\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Multi Langue Switcher\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bijdenboer.com\/#website\",\"url\":\"https:\/\/www.bijdenboer.com\/\",\"name\":\"Bijdenboer\",\"description\":\"Restaurant de poissons\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bijdenboer.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Multi Langue Switcher - Bijdenboer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bijdenboer.com\/en\/custom-block\/multi-langue-switcher\/","og_locale":"en_US","og_type":"article","og_title":"Multi Langue Switcher - Bijdenboer","og_url":"https:\/\/www.bijdenboer.com\/en\/custom-block\/multi-langue-switcher\/","og_site_name":"Bijdenboer","article_modified_time":"2023-03-14T12:34:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/","url":"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/","name":"Multi Langue Switcher - Bijdenboer","isPartOf":{"@id":"https:\/\/www.bijdenboer.com\/#website"},"datePublished":"2023-03-14T12:33:18+00:00","dateModified":"2023-03-14T12:34:57+00:00","breadcrumb":{"@id":"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bijdenboer.com\/nl\/custom-block\/multi-langue-switcher\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bijdenboer.com\/"},{"@type":"ListItem","position":2,"name":"Custom Blocks","item":"https:\/\/www.bijdenboer.com\/custom-block\/"},{"@type":"ListItem","position":3,"name":"Multi Langue Switcher"}]},{"@type":"WebSite","@id":"https:\/\/www.bijdenboer.com\/#website","url":"https:\/\/www.bijdenboer.com\/","name":"Bijdenboer","description":"Restaurant de poissons","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bijdenboer.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/custom_blocks\/1818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/custom_blocks"}],"about":[{"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/types\/custom_blocks"}],"version-history":[{"count":2,"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/custom_blocks\/1818\/revisions"}],"predecessor-version":[{"id":1820,"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/custom_blocks\/1818\/revisions\/1820"}],"wp:attachment":[{"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"custom_blocks_category","embeddable":true,"href":"https:\/\/www.bijdenboer.com\/en\/wp-json\/wp\/v2\/custom_blocks_category?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}