style: PHPCS clean across theme PHP

This commit is contained in:
Keith Solomon
2026-08-16 13:37:49 -05:00
parent aaef1ee4f8
commit 6dcd1233be
5 changed files with 30 additions and 25 deletions
+4 -3
View File
@@ -11,7 +11,7 @@ get_header();
$hero_heading = get_field( 'homepage_hero_heading' );
$hero_intro = get_field( 'homepage_hero_intro' );
$hero_cta_1 = get_field( 'homepage_hero_cta_1' ); // array( url, title, target )
$hero_cta_1 = get_field( 'homepage_hero_cta_1' ); // ACF link fields return shape: URL, title, target.
$hero_cta_2 = get_field( 'homepage_hero_cta_2' );
?>
<section class="home-hero aura-bg">
@@ -60,8 +60,9 @@ $hero_cta_2 = get_field( 'homepage_hero_cta_2' );
)
);
if ( $recent->have_posts() ) : ?>
<div class="home-recent__grid grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
if ( $recent->have_posts() ) :
?>
<div class="home-recent__grid grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<?php
while ( $recent->have_posts() ) :
$recent->the_post();