style: PHPCS clean across theme PHP
This commit is contained in:
+4
-3
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user