{"id":6335,"date":"2022-03-02T14:18:38","date_gmt":"2022-03-02T13:18:38","guid":{"rendered":"https:\/\/bpi.dk\/news\/"},"modified":"2025-07-10T09:41:53","modified_gmt":"2025-07-10T07:41:53","slug":"news","status":"publish","type":"page","link":"https:\/\/bpi.dk\/en\/news\/","title":{"rendered":"News"},"content":{"rendered":"<div class=\"block-cta-advanced relative bg-cover bg-center bg-no-repeat pt-16 md:pt-32 lg:pt-32 pb-16 md:pb-32 lg:pb-32    theme-dark schema-bg-color-primary lazy-bg\" id=\"block_686f6ec052645\" style=\"background-image: url('data:image\/gif;base64,R0lGODlhAQABAIAAAP\/\/\/\/\/\/\/yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==')\" data-src=\"https:\/\/bpi.dk\/wp-content\/uploads\/2023\/03\/bpi-2-1-scaled.jpg\" data-design-type=\"type_4\">\n\n\n    \n        <div class=\"absolute inset-0 overflow-hidden\">\n            <div class=\"banner-video-bg-container h-full  \">\n                <video class=\"h-full w-full object-cover object-center\" width=\"1920\" height=\"1080\" playsinline autoplay loop muted>\n                    <source src=\"\" type=\"video\/mp4\">\n                <\/video>\n            <\/div>\n        <\/div>\n    \n\n    <div class=\"absolute inset-0 z-10\" style=\"background-color: #232323; opacity: 0.50\"><\/div>\n\n    \n    \n        \n\n<div class=\"container relative z-10\">\n    <div class=\"pb-16 pt-20 md:pt-32 lg:py-32 relative\">\n        <div class=\"relative   mx-auto text-center \">\n\n            \n            <div class=\"relative z-10 \">\n                <header class=\"mb-3\">\n                                        <h1 class=\"\">\n                        News                    <\/h1>\n                <\/header>\n                <div class=\"wysiwyg-content  text-xl max-w-lg xl:max-w-xl mx-auto\">\n                                    <\/div>\n\n                            <\/div>\n        <\/div>\n    <\/div>\n\n    <\/div>\n    <\/div>\n\n\n\n<div class=\"block-post-list pt-16 md:pt-16 lg:pt-24 pb-16 md:pb-16 lg:pb-24 theme-light schema-bg-color-light_background\"\n     id=\"block_67b32b75396c1\">\n\n    <div class=\"container\" >\n\n        <div x-data=\"xDataPostList_block_fa907315cce8948f92ba0ac9de2f6358()\" x-init=\"init()\" class=\"relative\">\n\n            \n                <div class=\"lg:flex lg:items-center mb-6 lg:mb-0\">\n                    <div class=\"lg:w-2\/5\">\n                        \n<header class=\"mb-6 md:mb-12  \">\n    \n            <h2>Latest news from Bramming Plast-Industri A\/S<\/h2>    \n            <div class=\"mt-6\">\n            <div class=\"wysiwyg-content \">\n                <p>Stay up to date and follow us on <a href=\"https:\/\/www.linkedin.com\/company\/bramming-plast-industri-a-s\/?originalSubdomain=dk\">LinkedIn<\/a>.<\/p>\n            <\/div>\n        <\/div>\n    <\/header>\n                    <\/div>\n                    <div class=\"lg:ml-auto\">\n                        \n                                                    <div class=\"max-w-sm relative bg-white rounded\">\n                                <div class=\"w-10 h-full absolute left-0 text-sm flex items-center justify-center text-theme-accent-light-color opacity-50 pt-1\">\n                                    <i class=\"far fa-search\"><\/i>\n                                <\/div>\n                                <input type=\"text\" placeholder=\"Search\" x-model.debounce.750=\"searchQuery\" class=\"input-custom border border-solid border-theme-accent-light-color placeholder-branded rounded pl-10 py-2 text-sm text-theme-accent-light-color relative z-10 bg-transparent\">\n                            <\/div>\n                        \n\n                    <\/div>\n\n                <\/div>\n\n\n            \n\n            \n                \n                    \n                \n                \n            \n\n\n\n            <div class=\"relative\">\n                <div class=\"absolute top-0 left-0 right-0\" x-show=\"loading\">\n                    <div class=\"load-bar\">\n                        <div class=\"bar\"><\/div>\n                        <div class=\"bar\"><\/div>\n                        <div class=\"bar\"><\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"\" id=\"postContainer_block_fa907315cce8948f92ba0ac9de2f6358\"><\/div>\n            <\/div>\n\n\n        <\/div>\n\n\n        <script>\n            function xDataPostList_block_fa907315cce8948f92ba0ac9de2f6358() {\n                return {\n                    taxonomyFilters: [],\n                    postType: 'post',\n                    taxonomy: 'segment',\n                    searchQuery: '',\n                    termFilter: 0,\n                    initTab: 0,\n                    tab: 0,\n                    loading: false,\n                    showLeftNav: true,\n                    showRightNav: true,\n                    scrollWidth: 0,\n                    navigationElement: null,\n                    scrollPosition: 0,\n                    active: 0,\n                    itemCount: 12,\n                    selectedCity: '',\n                    init: function () {\n                        let vm = this;\n\n                        let filtersInit = [];\n                        Object.keys(filtersInit).forEach(function(key) {\n                            vm.taxonomyFilters['' + key + ''] = filtersInit[key];\n\n                            jQuery(vm.$refs['' + key + '']).select2({\n                                minimumResultsForSearch: -1\n                            }).on(\"select2:select\", (event) => {\n                                vm.taxonomyFilters['' + key + ''] = event.target.value;\n                            });\n\n                            jQuery(vm.$refs['' + key + '']).val(filtersInit[key]).trigger(\"change\");\n                        });\n\n\n                        setTimeout(function(){\n                            vm.fetchPosts(vm.taxonomyFilters);\n                        }, 500);\n\n\n                        this.$watch('taxonomyFilters', function (value, oldValue) {\n                            vm.fetchPosts(value);\n                        });\n\n                        this.$watch('searchQuery', function (value, oldValue) {\n\n                            vm.taxonomyFilters = {};\n                            vm.fetchPosts();\n                        });\n\n                        if(document.getElementById('departmentNav')){\n\n                            vm.navigationElement = document.getElementById('departmentNav');\n                            vm.scrollWidth = (vm.navigationElement.scrollWidth);\n\n                            vm.$watch('scrollPosition', function (value) {\n                                vm.setScrollPosition(value);\n                            });\n\n                            var firstElem = document.getElementById('tab-' + vm.initTab);\n                            vm.scrollPosition = (firstElem.offsetLeft - 50);\n                            vm.termFilter = firstElem.getAttribute('data-term');\n                            vm.tab = vm.initTab;\n                            vm.showLeftNav = (vm.tab > 0);\n                            vm.showRightNav = (vm.tab !== (vm.itemCount));\n                        }\n\n                    },\n                    fetchPosts: function (taxonomyFilters) {\n                        let vm = this;\n                        vm.loading = true;\n\n                        console.log('fetchPosts taxonomyFilters', taxonomyFilters);\n\n                        let postContainer = document.querySelector(\"#postContainer_block_fa907315cce8948f92ba0ac9de2f6358\");\n\n                        postContainer.classList.add('opacity-50');\n\n                        let fetchUrl = '\/wp-json\/api\/v1\/post-list\/?lang=en';\n\n                        fetch(fetchUrl,{\n                            method: 'POST',\n                            headers: {\n                                'Accept': 'application\/json',\n                                'Content-Type': 'application\/json'\n                            },\n                            body: JSON.stringify({\n                                settings: {\"color_schema\":\"light_background\",\"padding_top\":\"large\",\"padding_bottom\":\"large\",\"card_color_schema\":\"white\",\"card_column_distribution\":\"default\",\"card_image_max_height\":\"small\"},\n                                content: {\"\":null,\"text_section\":{\"pre_heading\":\"\",\"heading\":\"Latest news from Bramming Plast-Industri A\\\/S\",\"heading_tag\":\"h2\",\"wysiwyg\":\"<p>Stay up to date and follow us on <a href=\\\"https:\\\/\\\/www.linkedin.com\\\/company\\\/bramming-plast-industri-a-s\\\/?originalSubdomain=dk\\\">LinkedIn<\\\/a>.<\\\/p>\\n\",\"body_text_size\":\"base\",\"text_alignment\":\"left\"},\"button\":{\"show\":false,\"style\":\"primary\",\"size\":\"default\",\"icon\":\"arrow_long_right\",\"link_type\":\"link\",\"url_link\":\"\",\"block_link\":0,\"text\":\"\",\"\":null,\"modal\":{\"\":null,\"text_section\":{\"pre_heading\":\"\",\"heading\":\"\",\"heading_tag\":\"h2\",\"wysiwyg\":\"\",\"body_text_size\":\"base\",\"text_alignment\":\"left\"},\"form\":{\"type\":\"no_form\",\"embed_id\":\"\",\"field_values\":\"\"},\"media\":{\"type\":\"\",\"image\":false,\"media_caption\":\"\",\"image_settings\":{\"no_shadow\":false,\"rounded\":false,\"size\":\"md\",\"alignment\":\"center\"},\"video_url\":\"\",\"video_file\":false,\"video_cpt\":\"\",\"video_embed_type\":\"auto\",\"video_autoplay\":false,\"gallery_items\":false,\"multiple_mockup_items\":false,\"quote\":\"\"}},\"hide_on_devices\":{\"mobile\":false,\"tablet\":false,\"laptop\":false,\"desktop\":false}}},\n                                feed: {\"\":null,\"post_type\":\"post\",\"post_parent\":\"0\",\"posts_per_page\":\"\",\"taxonomies\":[],\"enable_search\":true,\"show_taxonomy_tab_navigation\":true,\"taxonomy\":\"segment\",\"segment\":false,\"post_list_meta\":{\"show_date\":true,\"show_author\":true,\"show_excerpt\":true,\"button_text\":\"Read more\",\"term_label_type\":\"icon\",\"term_label_taxonomy\":\"segment\"},\"project_data\":{\"status_filter\":\"all\"}},\n                                post_type: vm.postType,\n                                taxonomy: vm.taxonomy,\n                                query: vm.searchQuery,\n                                term_filter: vm.termFilter,\n                                taxonomy_filters: (taxonomyFilters) ? Object.assign({}, taxonomyFilters) : {},\n\n                            })\n                        })\n                            .then(response => response.json())\n                            .then(function (data) {\n\n\n\n                                console.log({data});\n\n\n                                const doc = document.createElement(\"div\");\n                                doc.innerHTML = data.html;\n\n                                postContainer.innerHTML = doc.outerHTML;\n\n                                vm.loading = false;\n\n                                postContainer.classList.remove('opacity-50');\n                            });\n\n                    },\n                    scrollLeft: function () {\n                        var vm = this;\n\n                        console.log('scrollLeft');\n\n                       if (this.tab > 0) {\n                            var previousTab = (vm.tab - 1);\n                            var previousElem = document.getElementById('tab-' + previousTab);\n                            this.scrollPosition = (previousElem.offsetLeft - 50);\n                            this.tab--;\n\n                            vm.termFilter = previousElem.getAttribute('data-term');\n                        }\n                        vm.showLeftNav = (vm.tab > 0);\n                        vm.showRightNav = (vm.tab !== (vm.itemCount));\n                    },\n                    scrollRight: function () {\n                        var vm = this;\n\n                        console.log('scrollRight');\n\n                        if (this.tab < (vm.itemCount)) {\n                            var nextTab = (vm.tab + 1);\n                            var nextElem = document.getElementById('tab-' + nextTab);\n                            this.scrollPosition = (nextElem.offsetLeft - 50);\n                            this.tab++;\n                            vm.termFilter = nextElem.getAttribute('data-term');\n                        }\n\n                        vm.showLeftNav = (vm.tab > 0);\n                        vm.showRightNav = (vm.tab !== (vm.itemCount));\n                    },\n                    setScrollPosition: function () {\n                        var vm = this;\n                        vm.navigationElement.scrollTo({\n                            top: 0,\n                            left: this.scrollPosition,\n                            behavior: 'smooth'\n                        });\n                    },\n                }\n            }\n        <\/script>\n\n\n    <\/div>\n\n\n\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"segment":[],"class_list":["post-6335","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>News - Bramming Plast-Industri A\/S<\/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:\/\/bpi.dk\/en\/news\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"News\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bpi.dk\/en\/news\/\" \/>\n<meta property=\"og:site_name\" content=\"Bramming Plast-Industri A\/S\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-10T07:41:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bpi.dk\/en\/news\/\",\"url\":\"https:\/\/bpi.dk\/en\/news\/\",\"name\":\"News - Bramming Plast-Industri A\/S\",\"isPartOf\":{\"@id\":\"https:\/\/bpi.dk\/#website\"},\"datePublished\":\"2022-03-02T13:18:38+00:00\",\"dateModified\":\"2025-07-10T07:41:53+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bpi.dk\/en\/news\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bpi.dk\/#website\",\"url\":\"https:\/\/bpi.dk\/\",\"name\":\"Bramming Plast-Industri A\/S\",\"description\":\"Foam for your purpose\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bpi.dk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"News - Bramming Plast-Industri A\/S","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:\/\/bpi.dk\/en\/news\/","og_locale":"en_US","og_type":"article","og_title":"News","og_url":"https:\/\/bpi.dk\/en\/news\/","og_site_name":"Bramming Plast-Industri A\/S","article_modified_time":"2025-07-10T07:41:53+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bpi.dk\/en\/news\/","url":"https:\/\/bpi.dk\/en\/news\/","name":"News - Bramming Plast-Industri A\/S","isPartOf":{"@id":"https:\/\/bpi.dk\/#website"},"datePublished":"2022-03-02T13:18:38+00:00","dateModified":"2025-07-10T07:41:53+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bpi.dk\/en\/news\/"]}]},{"@type":"WebSite","@id":"https:\/\/bpi.dk\/#website","url":"https:\/\/bpi.dk\/","name":"Bramming Plast-Industri A\/S","description":"Foam for your purpose","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bpi.dk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/pages\/6335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/comments?post=6335"}],"version-history":[{"count":20,"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/pages\/6335\/revisions"}],"predecessor-version":[{"id":14150,"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/pages\/6335\/revisions\/14150"}],"wp:attachment":[{"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/media?parent=6335"}],"wp:term":[{"taxonomy":"segment","embeddable":true,"href":"https:\/\/bpi.dk\/en\/wp-json\/wp\/v2\/segment?post=6335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}