commit c4a6f2f4ab8c54a1bf0478b34444c2e7c66b545f Author: Adolfo Reyna Date: Thu Mar 12 23:06:01 2026 -0400 Initial commit: Wisdom1 barebones theme with landing page, categories, and single post templates diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b218957 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/\n.DS_Store diff --git a/category.php b/category.php new file mode 100644 index 0000000..9775e82 --- /dev/null +++ b/category.php @@ -0,0 +1,47 @@ + + +
+
+

Archive:

+ +
+ +
+
+ +
+
+
+ +
> +
+ ', '' ); ?> +
+ +
+ +
+
+ ' . esc_html__( 'No posts found in this category.', 'wisdom1' ) . '

'; + endif; + ?> +
+
+
+ + + +
+ + +

+ ' . get_the_title() . '' + ); + } else { + printf( + esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'wisdom1' ) ), + number_format_i18n( $comment_count ), + '' . get_the_title() . '' + ); + } + ?> +

+ +
    + 'ol', + 'short_ping' => true, + 'avatar_size' => 60, + ) + ); + ?> +
+ + +

+ '

', + 'title_reply_after' => '

', + ) + ); + ?> + +
diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..b14a790 --- /dev/null +++ b/footer.php @@ -0,0 +1,11 @@ + + + + + + + diff --git a/front-page.php b/front-page.php new file mode 100644 index 0000000..758d9c5 --- /dev/null +++ b/front-page.php @@ -0,0 +1,72 @@ + + +
+
+

+

+ +
+
+ +
+
+
+

Seek Truth. Lead with Grace.

+

Explorations into the heart of the Kingdom.

+
+ +
+ +
> + +
+ +
+ + +
+ + ', '' ); ?> +
+ +
+ +
+
+ ' . esc_html__( 'No posts found.', 'wisdom1' ) . '

'; + endif; + ?> +
+
+
+ +
+ +
+ + esc_html__( 'Primary', 'wisdom1' ), + ) + ); + + add_theme_support( + 'html5', + array( + 'search-form', + 'comment-form', + 'comment-list', + 'gallery', + 'caption', + 'style', + 'script', + ) + ); + } +endif; +add_action( 'after_setup_theme', 'wisdom1_setup' ); + +/** + * Enqueue scripts and styles. + */ +function wisdom1_scripts() { + wp_enqueue_style( 'wisdom1-style', get_stylesheet_uri(), array(), '1.1.0' ); +} +add_action( 'wp_enqueue_scripts', 'wisdom1_scripts' ); + +/** + * Customizer additions. + */ +function wisdom1_customize_register( $wp_customize ) { + // Add Hero Section + $wp_customize->add_section( 'wisdom1_hero_section', array( + 'title' => __( 'Hero Section', 'wisdom1' ), + 'priority' => 30, + ) ); + + // Headline Setting + $wp_customize->add_setting( 'hero_headline', array( + 'default' => 'Ancient Wisdom for a Modern World.', + 'sanitize_callback' => 'sanitize_text_field', + ) ); + $wp_customize->add_control( 'hero_headline', array( + 'label' => __( 'Hero Headline', 'wisdom1' ), + 'section' => 'wisdom1_hero_section', + 'type' => 'text', + ) ); + + // Subheadline Setting + $wp_customize->add_setting( 'hero_subheadline', array( + 'default' => 'A collection of biblical insights curated for the thoughtful leader.', + 'sanitize_callback' => 'sanitize_text_field', + ) ); + $wp_customize->add_control( 'hero_subheadline', array( + 'label' => __( 'Hero Subheadline', 'wisdom1' ), + 'section' => 'wisdom1_hero_section', + 'type' => 'textarea', + ) ); + + // CTA Text Setting + $wp_customize->add_setting( 'hero_cta_text', array( + 'default' => 'Start Reading', + 'sanitize_callback' => 'sanitize_text_field', + ) ); + $wp_customize->add_control( 'hero_cta_text', array( + 'label' => __( 'CTA Button Text', 'wisdom1' ), + 'section' => 'wisdom1_hero_section', + 'type' => 'text', + ) ); +} +add_action( 'customize_register', 'wisdom1_customize_register' ); + +/** + * Menu fallback + */ +function wisdom1_menu_fallback() { + echo ''; +} diff --git a/header.php b/header.php new file mode 100644 index 0000000..5f2cf07 --- /dev/null +++ b/header.php @@ -0,0 +1,37 @@ + +> + + + + + + + + + +> + +
+ diff --git a/index.php b/index.php new file mode 100644 index 0000000..b2dff53 --- /dev/null +++ b/index.php @@ -0,0 +1,51 @@ + + +
+
+

+ +
+ +
+
+ +
+
+
+ +
> +
+ + ', '' ); ?> +
+ +
+ +
+
+ ' . esc_html__( 'No posts found.', 'wisdom1' ) . '

'; + endif; + ?> +
+
+
+ + + +
+ +
> +
+ + ', '' ); ?> +
+ + +
+ +
+ + +
+ '', + ) + ); + ?> +
+ +
+ +
+
+ + + + +
+ +