Shaping a Sustainable Future for El Nido
Empowering communities through partnerships, development initiatives, and a shared vision for prosperity and environmental stewardship.
Get InvolvedEmpowering communities with income-generating opportunities that align with environmental preservation.
Our Programs
Our Story
The establishment of El Nido Foundation, Inc. (ENF) was spearheaded by the Andres Soriano Jr. Foundation (ASJRF), under the leadership of Carlos T. Soriano. ASJRF was the pioneering development organization in El Nido through the Ten Knots Development Corporation (TKDC), owner and developer of El Nido Resorts.
Since 1994, El Nido Foundation has uplifted lives and preserved nature through community-driven conservation and development programs.
Vision
The vision of the Foundation is to build a prosperous and sustainable El Nido community as the result of public and private partnership and orchestrated development initiatives.
Mission
The mission of the Foundation is to mobilize all sectors in the community to move towards the attainment of El Nido's shared vision of having a model community: centered on God, environment, and people; healthy, nationalistic, and united in its goal of achieving sustainable development.
The Foundation will promote the improvement of socio-economic condition of El Nido's residents and, at the same time, preserve its resources for the future generation to enjoy and benefit from.
Our Core Values
Integrity
We uphold the highest standards of honesty, transparency, and accountability in all our actions, ensuring trust and credibility within the community.
Creativity
Innovation drives our solutions. We embrace new ideas and approaches to address challenges, fostering sustainable and impactful development.
Partnership
Collaboration is key to progress. We work closely with the private sector, government, and civil society to create meaningful and lasting change.
Accomplishments
We take pride in measurable achievements that improve lives and protect our natural resources, ensuring a sustainable future for generations to come.
Commitment
Our dedication to El Nido's shared vision is unwavering. We strive to create a thriving, united, and environmentally responsible community.
Our Partners
News and Updates
Partners coming soon
'; } } else { partnersTrack.innerHTML = 'Partners coming soon
'; } } catch (error) { console.error('Error loading partners:', error); document.getElementById('partnersTrack').innerHTML = 'Partners coming soon
'; } } // Fetch and display news/blog posts async function loadNews() { try { const response = await fetch('https://elnidofoundation.org/wp-json/wp/v2/posts?per_page=6&_embed'); const posts = await response.json(); const newsGrid = document.getElementById('newsGrid'); if (posts && posts.length > 0) { const newsHTML = posts.map(post => { // Format date const date = new Date(post.date); const formattedDate = date.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' }); // Get excerpt (strip HTML tags and limit length) let excerpt = post.excerpt.rendered.replace(/]*>/g, '').trim(); if (excerpt.length > 200) { excerpt = excerpt.substring(0, 200) + '...'; } // Get featured image let featuredImage = ''; if (post._embedded && post._embedded['wp:featuredmedia'] && post._embedded['wp:featuredmedia'][0]) { featuredImage = post._embedded['wp:featuredmedia'][0].source_url; } const imageHTML = featuredImage ? `${excerpt}
News coming soon
'; } } catch (error) { console.error('Error loading news:', error); document.getElementById('newsGrid').innerHTML = 'News coming soon
'; } } // Load content on page load document.addEventListener('DOMContentLoaded', () => { loadPartners(); loadNews(); }); // Programs Slider const slider = document.getElementById('programSlider'); const prevBtn = document.getElementById('prevBtn'); const nextBtn = document.getElementById('nextBtn'); const dotsContainer = document.getElementById('sliderDots'); const cards = document.querySelectorAll('.program-card'); let currentIndex = 0; let cardsPerView = 3; // Calculate cards per view based on screen size function updateCardsPerView() { if (window.innerWidth <= 640) { cardsPerView = 1; } else if (window.innerWidth <= 968) { cardsPerView = 2; } else { cardsPerView = 3; } } updateCardsPerView(); const totalSlides = Math.ceil(cards.length / cardsPerView); // Create dots for (let i = 0; i < totalSlides; i++) { const dot = document.createElement('div'); dot.classList.add('dot'); if (i === 0) dot.classList.add('active'); dot.addEventListener('click', () => goToSlide(i)); dotsContainer.appendChild(dot); } const dots = document.querySelectorAll('.dot'); function updateSlider() { // Use fixed card width (320px) + gap (25px) const cardWidth = 345; // 320 + 25 const offset = currentIndex * cardWidth * cardsPerView; slider.style.transform = `translateX(-${offset}px)`; dots.forEach((dot, index) => { dot.classList.toggle('active', index === currentIndex); }); } function goToSlide(index) { currentIndex = index; updateSlider(); } nextBtn.addEventListener('click', () => { currentIndex = (currentIndex + 1) % totalSlides; updateSlider(); }); prevBtn.addEventListener('click', () => { currentIndex = (currentIndex - 1 + totalSlides) % totalSlides; updateSlider(); }); // Auto-play slider setInterval(() => { currentIndex = (currentIndex + 1) % totalSlides; updateSlider(); }, 5000); // Responsive handling window.addEventListener('resize', () => { updateCardsPerView(); updateSlider(); });