small updates

This commit is contained in:
twotalesanimation
2025-12-02 18:17:20 +02:00
parent b69f8f5f1b
commit 062dc46ffd
22 changed files with 304 additions and 275 deletions

View File

@@ -64,7 +64,7 @@ if (!empty($bannerImages)) {
<div class="col-lg-8">
<?php
// Query to retrieve data from the trips table
$sql = "SELECT blog_id, title, date, category, image, description, author, members_only, link FROM blogs ORDER BY date DESC";
$sql = "SELECT blog_id, title, date, category, image, description, author, members_only, link FROM blogs WHERE status = 'published' ORDER BY date DESC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {