fix(theme): complete namespace swap + page-hero/aura-bg placement + single.spec gating

This commit is contained in:
Keith Solomon
2026-08-16 14:23:04 -05:00
parent ca9c5f215c
commit afa594aa0a
38 changed files with 81 additions and 65 deletions
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that renders the Accordion block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
$open = get_field( 'open' );
$group = get_field( 'group_items' );
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template for building your own custom blocks.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
$classes = 'boilerplate';
+2 -2
View File
@@ -2,10 +2,10 @@
/**
* Button block
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve ACF fields
$element = get_field( 'element' ) ? get_field( 'element' ) : 'a';
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that renders the Buttons block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
$ibClasses = 'flex flex-wrap gap-4 w-full justify-center sm:justify-start';
+2 -2
View File
@@ -4,10 +4,10 @@
*
* Display contact information from global fields with icons and optional form.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
$classes = 'contact-info';
$wrapper = blockWrapperAttributes( $classes, $is_preview );
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that displays the Grid Cell block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Initialize variables
$className = ! empty( $block['className'] ) ? $block['className'] : '';
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that displays the grid block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
$allowedBlocks = array( 'acf/grid-cell' );
$default_blocks = array(
+2 -2
View File
@@ -2,10 +2,10 @@
/**
* Block Name: Homepage Hero
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve ACF fields
$heading = get_field( 'heading' );
@@ -4,10 +4,10 @@
*
* This is the template that displays the media text inner blocks.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve ACF fields
$bgColor = get_field( 'background_color' ) ? get_field( 'background_color' ) : '#c5c5c5';
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that displays the Media With Text block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve ACF fields
$bgColor = get_field( 'background_color' ) ? get_field( 'background_color' ) : '#c5c5c5';
+2 -2
View File
@@ -2,10 +2,10 @@
/**
* Page Children block
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve the current page ID and its children
$parentId = get_queried_object_id();
+2 -2
View File
@@ -4,10 +4,10 @@
*
* This is the template that displays the section block.
*
* @package SoloFrameEvo
* @package KsPortfolio
*/
namespace SoloFrameEvo;
namespace KsPortfolio;
// Retrieve ACF fields
$contentWidth = get_field( 'content_width' );