From 9ccc48086d162e85149649eb74ba798bbd57cb87 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Mon, 23 Mar 2026 14:31:28 +0100 Subject: [PATCH] FEATURE Updating gneralized post-header component in carhop theme and using it in dynamiques with the adequate parameters --- single-articles.php | 10 +++++++++- single-revues.php | 10 +++++++++- .../{post-header.php => oldpost-header_todelete.php} | 0 3 files changed, 18 insertions(+), 2 deletions(-) rename template-parts/{post-header.php => oldpost-header_todelete.php} (100%) diff --git a/single-articles.php b/single-articles.php index 1c54447..fdc191f 100644 --- a/single-articles.php +++ b/single-articles.php @@ -6,7 +6,15 @@ $revueID = get_field('related_revue', get_the_ID());
- + true, + 'thumbnail_position' => 'left' + ) + ); ?> + diff --git a/single-revues.php b/single-revues.php index 7c11b97..bad9847 100644 --- a/single-revues.php +++ b/single-revues.php @@ -15,7 +15,15 @@ $articles = get_field('articles', $current_issue->ID); $issue_number = get_field('issue_number', $current_issue->ID); ?> - + true, + 'thumbnail_position' => 'left' + ) + ); ?> + diff --git a/template-parts/post-header.php b/template-parts/oldpost-header_todelete.php similarity index 100% rename from template-parts/post-header.php rename to template-parts/oldpost-header_todelete.php