{"id":2000,"date":"2025-04-17T10:59:08","date_gmt":"2025-04-17T10:59:08","guid":{"rendered":"https:\/\/www.newenergynexus.com\/philippines\/?page_id=2000"},"modified":"2026-02-25T13:32:36","modified_gmt":"2026-02-25T13:32:36","slug":"news-resources","status":"publish","type":"page","link":"https:\/\/www.newenergynexus.com\/philippines\/news-resources\/","title":{"rendered":"News &#038; resources"},"content":{"rendered":"<style>.tag_box[data-tag=\"news\"]{display:flex !important ;}.tag_box[data-tag=\"videos\"]{display:flex !important ;}.tag_box[data-tag=\"podcasts\"]{display:flex !important ;}.tag_box[data-tag=\"resources\"]{display:flex !important ;}.tag_box[data-tag=\"blog\"]{display:flex !important ;}<\/style><style>\n    section#new_news_stories-1_block_efbb51d767cd96333eb1ecedea521e58{}<\/style> \n<section id=\"new_news_stories-1_block_efbb51d767cd96333eb1ecedea521e58\" class=\"section block_new_news_stories block_new_news_stories-1\">\n    <style>\n        .tag_box[data-tag=\"videos\"]{display:none !important ;};\n    <\/style>\n    <div class=\"box\">\n        <div class=\"heading\"><\/div>\n        <div class=\"filter_box\">\n                            <div class=\"tag\" data-type=\"blog\"> STORIES <\/div>\n                            <div class=\"tag\" data-type=\"news\"> NEWS <\/div>\n                            <div class=\"tag\" data-type=\"resources\"> RESOURCES <\/div>\n                    <\/div>\n        <div class=\"tag_box\" style=\"display: none !important;\" style=\"display: none;\" >\n              \n            \n                <div data-value=\"11\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\" >Built Environment<\/div>\n              \n            \n                <div data-value=\"10\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\" >Energy Access<\/div>\n              \n            \n                <div data-value=\"8\" style=\"\n                    cursor: pointer;\n                    background-color: #c293ff;\n                    color: #000000;\" class=\"tag\" >News<\/div>\n              \n            \n                <div data-value=\"9\" style=\"\n                    cursor: pointer;\n                    background-color: #65aff8;\n                    color: #000000;\" class=\"tag\" >Philippines<\/div>\n              \n            \n                <div data-value=\"13\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\" >REGION<\/div>\n              \n            \n                <div data-value=\"17\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\" >Renewable energy tech<\/div>\n              \n            \n                <div data-value=\"14\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\" >SECTOR<\/div>\n              \n            \n                <div data-value=\"16\" style=\"\n                    cursor: pointer;\n                    background-color: #c293ff;\n                    color: #000000;\" class=\"tag\" >Story<\/div>\n              \n            \n                <div data-value=\"12\" style=\"\n                    cursor: pointer;\n                    background-color: B9D7F8;\n                    color: #000000;\" class=\"tag\" >TYPE<\/div>\n                    <\/div>\n        <div class=\"hint\">\n                                                                <span class=\"blog\">Search stories by:<\/span> \n                                                                                                                <span class=\"news\" >Search news by:<\/span>\n                                                                                                <\/div>\n        <div class=\"tag_box new\">\n            <script>console.log({\"14\":{\"child\":[{\"term_id\":11,\"name\":\"Built Environment\",\"slug\":\"built-environment\",\"term_group\":0,\"term_taxonomy_id\":11,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":14,\"count\":4,\"filter\":\"raw\"},{\"term_id\":10,\"name\":\"Energy Access\",\"slug\":\"energy-access\",\"term_group\":0,\"term_taxonomy_id\":10,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":14,\"count\":1,\"filter\":\"raw\"},{\"term_id\":17,\"name\":\"Renewable energy tech\",\"slug\":\"renewable-energy-tech\",\"term_group\":0,\"term_taxonomy_id\":17,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":14,\"count\":7,\"filter\":\"raw\"}],\"term_id\":14,\"name\":\"SECTOR\"},\"12\":{\"child\":[{\"term_id\":8,\"name\":\"News\",\"slug\":\"news\",\"term_group\":0,\"term_taxonomy_id\":8,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":12,\"count\":6,\"filter\":\"raw\"},{\"term_id\":16,\"name\":\"Story\",\"slug\":\"story\",\"term_group\":0,\"term_taxonomy_id\":16,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":12,\"count\":5,\"filter\":\"raw\"}],\"term_id\":12,\"name\":\"TYPE\"},\"13\":{\"child\":[{\"term_id\":9,\"name\":\"Philippines\",\"slug\":\"philippines\",\"term_group\":0,\"term_taxonomy_id\":9,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":13,\"count\":9,\"filter\":\"raw\"}],\"term_id\":13,\"name\":\"REGION\"}})<\/script>\n                                            <div  data-value=\"14\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\" >sector<\/div>\n                    <select data-type=\"14\" style=\"margin-right:20px\" >\n                        <option value=\"14\">All<\/option>\n                        <!-- <option value=\"14\">SECTOR<\/option> -->\n                        \n                            <option value=\"11\">Built Environment<\/option>\n                        \n                            <option value=\"10\">Energy Access<\/option>\n                        \n                            <option value=\"17\">Renewable energy tech<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div  data-value=\"12\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\" >type<\/div>\n                    <select data-type=\"12\" style=\"margin-right:20px\" >\n                        <option value=\"12\">All<\/option>\n                        <!-- <option value=\"12\">TYPE<\/option> -->\n                        \n                            <option value=\"8\">News<\/option>\n                        \n                            <option value=\"16\">Story<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div  data-value=\"13\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\" >region<\/div>\n                    <select data-type=\"13\" style=\"margin-right:20px\" >\n                        <option value=\"13\">All<\/option>\n                        <!-- <option value=\"13\">REGION<\/option> -->\n                        \n                            <option value=\"9\">Philippines<\/option>\n                                            <\/select>\n                <\/div>\n                        <div class=\"tag-container\">\n                <div class=\"text\" style=\"visibility: hidden;\">placeholder<\/div>\n                <a href=\"javascript:void(0)\" class=\"btn\" >search<\/a>\n            <\/div>\n        <\/div>\n        <div class=\"featured_box\"><\/div>\n        <div class=\"pot\"><\/div>\n                    <div class=\"underline filter\">LOAD MORE \u2192<\/div>\n            <\/div>\n   \n    <script>\n\n        const loading = (()=>{\n            let _loadingIns = null;\n            return function(){\n                if(_loadingIns) return _loadingIns;\n                let loadingEle = null;\n                const createLoading = ()=>{\n                    const loadingEle = document.createElement('div');\n                    loadingEle.classList.add(\"loading-container\");\n                    loadingEle.innerHTML = `<svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke=\"#ff6600\">\n                        <g fill=\"none\" fill-rule=\"evenodd\">\n                            <g transform=\"translate(1 1)\" stroke-width=\"2\">\n                                <circle stroke-opacity=\".2\" cx=\"18\" cy=\"18\" r=\"18\"\/>\n                                <path d=\"M36 18c0-9.94-8.06-18-18-18\">\n                                    <animateTransform\n                                        attributeName=\"transform\"\n                                        type=\"rotate\"\n                                        from=\"0 18 18\"\n                                        to=\"360 18 18\"\n                                        dur=\"1s\"\n                                        repeatCount=\"indefinite\"\/>\n                                <\/path>\n                            <\/g>\n                        <\/g>\n                    <\/svg>`;\n                    document.querySelector(\"#new_news_stories-1_block_efbb51d767cd96333eb1ecedea521e58\").appendChild(loadingEle);\n                    return loadingEle;\n                }\n                loadingEle = createLoading();\n                const  _hideLoading = ()=>{\n                    loadingEle.style.visibility = 'hidden';\n                    \/\/ visible\n                }\n                const  _showLoading = ()=>{\n                    loadingEle.style.visibility = 'visible';\n                }\n\n                _loadingIns = {\n                    showLoading : ()=>{\n                        _showLoading();\n                    },\n                    hideLoading : ()=>{\n                        if(!_loadingIns) return;\n                        _hideLoading();\n                    },\n                    getLoading : ()=>{\n                        return _loadingIns;\n                    }\n                };\n                return _loadingIns\n            }\n        })();\n\n        const clearActive = (select)=> {\n            document.querySelectorAll(select).forEach(ele=>{\n                ele.classList.remove(\"active\");\n            })\n        }\n        jQuery(document).ready(function($) {\n            const getLoactionQuery = (key)=>{\n                const urlParams = new URLSearchParams(window.location.search);\n                return urlParams.get(key);\n            }\n            const getData = (options = {}) => {\n                loading().showLoading();\n                const args = {\n                    action: \"get_news_tag\",\n                    group: {\"filter_button\":[{\"value\":\"blog\",\"label\":\"STORIES\"},{\"value\":\"news\",\"label\":\"NEWS\"},{\"value\":\"resources\",\"label\":\"RESOURCES\"}],\"featured_data_news\":[2502],\"featured_data_blog\":[1993],\"featured_data_resources\":[1997],\"show\":true,\"filter\":true,\"read_more_or_load_more\":true,\"select\":\"\",\"select_tag\":false,\"mixed_type\":false,\"select_type\":\"news\"},\n                    thetype: \"news\",\n                    thepage: 1,\n                    thenumber: 9,\n                }\n                for (const key in options) {\n                    if(typeof options[key] == \"function\") continue;\n                    args[key] = options[key];\n                }\n                return new Promise((resolve, reject) => {\n                    jQuery.post(\n                        'https:\/\/www.newenergynexus.com\/philippines\/wp-admin\/admin-ajax.php', args,\n                        function(data, status, xhr) {\n                            const container = document.createElement('div');\n                            container.innerHTML = data;\n                            \n                            \/\/ \u63a8\u8350\u65b0\u95fb \u6e32\u67d3\n                            if(container.querySelector('.featured_box')){\n                                document.querySelector('.featured_box').innerHTML = container.querySelector('.featured_box').innerHTML;\n                            }\n                            \/\/ \u666e\u901a\u65b0\u95fb \u6e32\u67d3\n                            if(container.querySelector(\".pot\")){\n                                const containerPot = container.querySelector(\".pot\");\n                                for (const key in containerPot.dataset) {\n                                    document.querySelector(\".pot\").dataset[key] = containerPot.dataset[key];\n                                }\n                                if(document.querySelector(\".underline.filter\")) {\n                                    if(containerPot.dataset.num <= pagesOption.thepage ) {\n                                        document.querySelector(\".underline.filter\").style.display = \"none\";\n                                    }else {\n                                        document.querySelector(\".underline.filter\").style.display = \"block\";\n                                    }\n                                }\n                            document.querySelector(\".pot\").innerHTML = container.querySelector(\".pot\").innerHTML;\n                            }\n                            \/\/ \u6ca1\u6709\u6570\u636e\n                             \/**\n                             * options.thepage <= 1\n                             * \u4fdd\u8bc1\u7b2c\u4e00\u6b21\u52a0\u8f7d\n                             * .pot \u91cc\u9762\u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * --.featured_box \u91cc\u9762\u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u63d0\u9192\u7528\u6237\u65e0\u6570\u636e\n                             * -- .featured_box \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u663e\u793a.featured_box \u7684\u5185\u5bb9\n                             * .pot \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- .pot \u663e\u793a.pot \u7684\u5185\u5bb9\n                             * --.featured_box \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u663e\u793a.featured_box \u7684\u5185\u5bb9\n                             * --.featured_box \u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- -- .featured_box \u4e0d\u663e\u793a\u6216\u7a7a\n                             *\/\n                            if(options.thepage <= 1){\n                                \/\/\u6ca1\u6709\u6570\u636e\n                                if(!container.querySelector(\".pot\").innerHTML) {\n                                    if(!container.querySelector('.featured_box')){\n                                        document.querySelector(\".featured_box\").innerHTML = \"<h2>There is currently no content available<\/h2>\";\n                                        document.querySelector(\".pot\").innerHTML = \"\";\n                                        \n                                    }\n                                    if(container.querySelector('.featured_box')){\n                                        document.querySelector(\".featured_box\").innerHTML = container.querySelector('.featured_box').innerHTML;\n                                        document.querySelector(\".pot\").innerHTML = \"\";\n                                    }\n                                }else {\n                                    if(!container.querySelector('.featured_box')){\n                                        document.querySelector(\".featured_box\").innerHTML = \"\";\n                                        \n                                    }\n                                    if(container.querySelector('.featured_box')){\n                                        document.querySelector(\".featured_box\").innerHTML = container.querySelector('.featured_box').innerHTML;\n                                    }\n                                }\n                                \n                            }\n                            document.querySelectorAll(\".block_new_news_stories .pot .tag_box .tag[data-id],.block_new_news_stories .tag_box .tag[data-id]\").forEach(element=>{\n                                element.addEventListener(\"click\",e=>{\n                                    e.preventDefault();\n                                    e.stopPropagation();\n                                    \n                                    document.querySelectorAll(\".block_new_news_stories .tag_box.new select\").forEach(ele=>{\n                                        document.querySelector(`.tag_box.new [data-value=\"${ele.dataset.type}\"]`).value = ele.dataset.type;\n                                        pagesOption.setTag(ele.dataset.type,ele.dataset.type);\n                                        jQuery(ele).val(ele.dataset.type).trigger('change');\n                                        \n                                    })\n\n                                    pagesOption.setTag(e.target.dataset.parent,e.target.dataset.id);\n                                    document.querySelector(`.tag_box.new [data-value=\"${e.target.dataset.parent}\"]`).value = e.target.dataset.id;\n                                    document.querySelector(`.block_new_news_stories .tag_box .btn`).click();\n                                    \n                                    jQuery(`.block_new_news_stories select[data-type=\"${e.target.dataset.parent}\"]`).val(e.target.dataset.id).trigger('change');\n                                    window.scrollTo({\n                                        top: document.querySelector(\".block_new_news_stories\").offsetTop,\n                                        behavior: 'smooth'\n                                    });\n                                })\n                            })\n                            resolve(data);\n                        });\n                }).finally(()=>{\n                    loading().hideLoading();\n                });\n            }\n            const pagesOption = {\n                thenumber: 9,\n                thepage:1,\n                thetype:\"news\",\n                _thetag:{},\n                thetag:[],\n                setType: function (type) {\n                    this.thetype = type;\n                    this.thepage = 1;\n                    this._thetag = {};\n                },\n                setTag:function(key,type){\n                    if(!this.thetag) this._thetag = {};\n                    if(type == key) return delete this._thetag[key]\n                    if(key && type){\n                        this._thetag[key] = type;\n                    }\n                    this.thepage = 1;\n                },\n                setSelectValue(key,value){\n                    if(!this.selectvalue) this.selectvalue = {};\n                    if(value == key) return delete this.selectvalue[key]\n\n                    if(key && value){\n                        this.selectvalue[key] = value;\n                    }\n                },\n                getSelectValue(){\n                    if(this.selectvalue) return this.selectvalue\n                    return null;\n                },\n                getOption(){\n                    let thetag = [];\n                    if(Object.keys(this._thetag).length > 0){\n                        for (const key in this._thetag) {\n                            if(this._thetag[key] == \"all\") continue;\n                            thetag.push(this._thetag[key]);\n                        }\n                    }else {\n                        thetag = 'all';\n                    }\n                    \n                    return {\n                        thenumber:this.thenumber,\n                        thepage:this.thepage,\n                        thetype:this.thetype,\n                        thetag:thetag,\n                    }\n                }\n            }\n            \/\/ Initialize Select2\n            jQuery(\".block_new_news_stories select\").select2({\n                allowClear: false,\n                multiple: false,\n                minimumResultsForSearch: -1,\n                placeholder: {\n                    id: '', \/\/ the value of the option\n                    text: 'All'\n                }\n            });\n            jQuery(\".block_new_news_stories select\").on(\"change\", function(e) {\n                const parentElement = e.target.parentElement;\n                pagesOption.setTag(parentElement.dataset.value,e.target.value);\n            });\n         \n\n            document.querySelectorAll(\".filter_box .tag\").forEach((item) => {\n                item.addEventListener(\"click\", (e) => {\n                    document.querySelector(\".filter_box .tag.active\").classList.remove(\"active\");\n                    if(document.querySelector(\".tag_box .tag.active\")) {\n                        document.querySelector(\".tag_box .tag.active\").classList.remove(\"active\");\n                    }\n                    const type = e.currentTarget.dataset.type;\n                    document.querySelector(\"#new_news_stories-1_block_efbb51d767cd96333eb1ecedea521e58\").dataset.type = type;\n                    e.currentTarget.classList.add(\"active\");\n                    pagesOption.setType(type);\n                    document.querySelector(\".tag_box\").dataset.tag = pagesOption.thetype;\n                    document.querySelector(\".block_new_news_stories .hint\").dataset.type = document.querySelector(\".filter_box .tag.active\").dataset.type;\n                    jQuery(\".block_new_news_stories select\").val(index=>{\n                        pagesOption.setTag(jQuery(\".block_new_news_stories select\")[index].dataset.type,jQuery(\".block_new_news_stories select\")[index].dataset.type);\n\n                        return jQuery(\".block_new_news_stories select\")[index].dataset.type;\n                    }).trigger(\"change\");\n                    getData(pagesOption.getOption()).then((data) => {\n                        datadiv = document.createElement('div');\n                        datadiv.innerHTML = data;\n                        if(datadiv.querySelector(\".featured_box\")){\n                            return document.querySelector(\".featured_box\").innerHTML = datadiv.querySelector(\".featured_box\").innerHTML;\n                        }\n                        document.querySelector(\".featured_box\").innerHTML = \"\";\n                    })\n                })\n            })\n\n            document.querySelector(\".underline.filter\")?.addEventListener(\"click\", (e) => {\n                pagesOption.thepage++;\n                const phtml = document.querySelector(\".pot\").innerHTML\n                getData(pagesOption.getOption()).then((data) => {\n                    const container = document.createElement('div');\n                    container.innerHTML = data;\n\n                    if(container.querySelector(\".pot\")){\n                        document.querySelector(\".pot\").innerHTML = phtml + container.querySelector(\".pot\").innerHTML;\n                    }\n                })\n            })\n            document.querySelector(\".block_new_news_stories .tag_box .btn\").addEventListener(\"click\",e=>{\n                e.preventDefault();\n                e.stopPropagation();\n                getData(pagesOption.getOption())\n                .then((data) => {\n                    \/\/ document.querySelector(\".featured_box\").innerHTML = \"\";\n                })\n            });\n            document.querySelector(\".block_new_news_stories\").addEventListener(\"click\",e=>{\n                e.stopPropagation();\n                if(e.target.classList.contains(\"tag\")){\n                    return;\n                }\n                if(!e.target.dataset.id) return;\n            });\n            \n\n\n\n\n            const pageinit = ()=>{\n\n                let type = getLoactionQuery(\"type\");\n                let parent = getLoactionQuery(\"parent\");\n                let value = getLoactionQuery(\"value\");\n                clearActive(\".filter_box .tag\")\n                if(!type){\n                    pagesOption.setType(document.querySelector(\".filter_box .tag.active\")?.dataset.type || document.querySelector(\".filter_box .tag\").dataset.type);\n                    if(!document.querySelector(\".filter_box .tag\").classList.contains(\"active\")){\n                        document.querySelector(\".filter_box .tag\").classList.add(\"active\");\n                        document.querySelector(\".block_new_news_stories .hint\").dataset.type = document.querySelector(\".filter_box .tag.active\").dataset.type;\n                    }\n                }else{\n                    document.querySelector(`.filter_box .tag[data-type=\"${type}\"]`).classList.add(\"active\");\n                    pagesOption.setType(type);\n                }\n                \n                if(parent){\n                    jQuery(`.tag_box.new [data-type=\"${parent}\"]select`).val(value || parent).trigger(\"change\");\n                    pagesOption.setTag(parent,value || parent)\n                }\n                getData(pagesOption.getOption()).then((data) => {\n                    document.querySelector(\".tag_box\").dataset.tag = pagesOption.thetype;\n                    document.querySelector(\"#new_news_stories-1_block_efbb51d767cd96333eb1ecedea521e58\").dataset.type = pagesOption.thetype;\n                    \n                })\n            }\n\n            pageinit();\n\n\n\n\n        });\n        \n    <\/script>\n<\/section>","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,"inline_featured_image":false,"footnotes":""},"category_media":[],"class_list":["post-2000","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/pages\/2000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/comments?post=2000"}],"version-history":[{"count":6,"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/pages\/2000\/revisions"}],"predecessor-version":[{"id":2509,"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/pages\/2000\/revisions\/2509"}],"wp:attachment":[{"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/media?parent=2000"}],"wp:term":[{"taxonomy":"category_media","embeddable":true,"href":"https:\/\/www.newenergynexus.com\/philippines\/wp-json\/wp\/v2\/category_media?post=2000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}