🔵 other: Initial WP conversion from Eleventy
Sync TODOs with Issues / sync_todos (push) Successful in 7s

This commit is contained in:
Keith Solomon
2026-05-25 16:48:48 -05:00
parent 2e5bfaba89
commit dcb38250f8
56 changed files with 965 additions and 318 deletions
+4 -3
View File
@@ -43,7 +43,8 @@ class Enqueue {
}
$font_ver = gmdate( 'U' );
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
wp_enqueue_style( 'passion-one', 'https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap', false, $font_ver );
wp_enqueue_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css', false, '5.15.3' );
/**
* JS
@@ -66,7 +67,7 @@ class Enqueue {
$theme_uri = get_stylesheet_directory_uri();
$font_ver = gmdate( 'U' );
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
wp_enqueue_style( 'passion-one', 'https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap', false, $font_ver );
/**
* Admin CSS
@@ -99,7 +100,7 @@ class Enqueue {
$editor_css_path = '/styles/backend/editor.css';
$font_ver = gmdate( 'U' );
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
wp_enqueue_style( 'passion-one', 'https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap', false, $font_ver );
if ( file_exists( $theme_dir . $editor_css_path ) ) {
$version = filemtime( $theme_dir . $editor_css_path );
+2 -2
View File
@@ -122,8 +122,8 @@ add_filter( 'menu_order', __NAMESPACE__ . '\\customMenuOrder', 10, 1 );
*/
function blockCategories( $categories ) {
$vdi_cat = array(
'slug' => 'vdi-blocks',
'title' => 'VDI Custom Blocks',
'slug' => 'go-ask-auntie-blocks',
'title' => 'Go Ask Auntie Blocks',
'icon' => 'dashicons-admin-customizer',
);
+10 -8
View File
@@ -158,15 +158,17 @@ class ShowTemplate {
$fudge = isset( $get_footer ) ? $get_footer : $wp_footer;
if ( $fudge === $this->template || $fudge === false ) {
echo wp_kses_post( "<!-- Active Template: {$this->template} -->\n" );
// phpcs:disable
echo "<!-- Active Template: {$this->template} -->\n";
} else {
echo esc_html( "<!--\n" );
echo esc_html( "The template loader logic has chosen a different template than what was used.\n\n" );
echo esc_html( "Chosen Template: {$this->template}\n" );
echo esc_html( "Actual Template: $fudge\n\n" );
echo esc_html( "This will usually occur if the template file was overriden using an action on template_redirect.\n" );
echo esc_html( "This is a best effort guess to catch such scenarios as mentioned above but can be incorrect.\n" );
echo esc_html( "-->\n" );
echo "<!--\n";
echo "The template loader logic has chosen a different template than what was used.\n\n";
echo "Chosen Template: {$this->template}\n";
echo "Actual Template: $fudge\n\n";
echo "This will usually occur if the template file was overriden using an action on template_redirect.\n";
echo "This is a best effort guess to catch such scenarios as mentioned above but can be incorrect.\n";
echo "-->\n";
// phpcs:enable
}
}
}