Ozone Network for Environmental Preservation

function modern_latest_posts_grid_shortcode($atts) { $atts = shortcode_atts(array( ‘posts_per_page’ => 8, ‘category_name’ => ”, // leave empty for all categories ), $atts, ‘modern_latest_posts’); $query_args = array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => intval($atts[‘posts_per_page’]), ‘ignore_sticky_posts’ => true, ); if (!empty($atts[‘category_name’])) { $query_args[‘category_name’] = sanitize_text_field($atts[‘category_name’]); } $posts_query = new WP_Query($query_args); ob_start(); static $modern_latest_posts_css_loaded = false; if (!$modern_latest_posts_css_loaded) { $modern_latest_posts_css_loaded = true; ?> ‘; if ($posts_query->have_posts()) { echo ‘
‘; while ($posts_query->have_posts()) { $posts_query->the_post(); echo ‘
‘; echo ‘‘; echo ‘
‘; $categories = get_the_category(); if (!empty($categories)) { echo ‘
‘; foreach ($categories as $category) { echo ‘‘ . esc_html(get_the_title()) . ‘‘; echo ‘
‘ . esc_html(get_the_date(‘F j, Y’)) . ‘
‘; echo ‘
‘ . esc_html(wp_trim_words(get_the_excerpt(), 20, ‘…’)) . ‘
‘; echo ‘‘; echo ‘
‘; echo ‘
‘; } echo ‘
‘; } else { echo ‘
No posts found.
‘; } echo ‘
‘; wp_reset_postdata(); return ob_get_clean(); } add_shortcode(‘modern_latest_posts’, ‘modern_latest_posts_grid_shortcode’);

Last News

Mission of the Ozone Network Website

1- Raise Awareness on Environmental Challenges
2- Promote Sustainable Practices
3- Connect and Empower a Global Community
4- Advocate for Environmental Justice
5- Facilitate Education and Research
6- Encourage Policy Change
7- Support Volunteerism and Donations
8- Foster Innovation and Collaboration

Key Functionalities for the Website
  • Community Forums: Encourage discussions, idea sharing, and problem-solving among environmental enthusiasts worldwide.
  • Volunteer and Action Center: Enable users to join local clean-ups, reforestation projects, or educational campaigns.
  • Donation Hub: Allow transparent and secure contributions to support environmental projects.
  • Interactive Learning Modules: Create courses and workshops on topics such as sustainable living, climate science, and conservation strategies.
  • Global Impact Tracker: Show progress and real-time data on Ozone’s projects and their outcomes.