diff --git a/acf/group_5fd3e006e5da5.json b/acf/group_5fd3e006e5da5.json index e5097d6..d8f300f 100644 --- a/acf/group_5fd3e006e5da5.json +++ b/acf/group_5fd3e006e5da5.json @@ -57,27 +57,6 @@ "append": "", "maxlength": "" }, - { - "key": "field_684ad36ebaf40", - "label": "Fax", - "name": "fax", - "aria-label": "", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "allow_in_bindings": 1, - "placeholder": "", - "prepend": "", - "append": "" - }, { "key": "field_5fd3e0437bff0", "label": "Address", @@ -97,26 +76,6 @@ "maxlength": "", "rows": 3, "new_lines": "br" - }, - { - "key": "field_60381dcb082b5", - "label": "Hours", - "name": "hours", - "aria-label": "", - "type": "textarea", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "maxlength": "", - "rows": 3, - "new_lines": "br" } ] }, @@ -209,9 +168,9 @@ "placeholder": "" }, { - "key": "field_677bf0e692d40", - "label": "Youtube", - "name": "youtube", + "key": "field_6a82713dd82d4", + "label": "Github", + "name": "github", "aria-label": "", "type": "url", "instructions": "", @@ -223,25 +182,7 @@ "id": "" }, "default_value": "", - "allow_in_bindings": 1, - "placeholder": "" - }, - { - "key": "field_677bf0e692d3f", - "label": "Pinterest", - "name": "pinterest", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 1, + "allow_in_bindings": 0, "placeholder": "" } ] @@ -286,6 +227,24 @@ "max_height": "", "max_size": "", "mime_types": "" + }, + { + "key": "field_6a846bd4360da", + "label": "Resume Link", + "name": "resume_link", + "aria-label": "", + "type": "url", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "allow_in_bindings": 0, + "placeholder": "" } ] }, @@ -455,5 +414,8 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1749744328 + "display_title": "", + "allow_ai_access": false, + "ai_description": "", + "modified": 1787063276 } diff --git a/archive-projects.php b/archive-projects.php index 1c67a66..11718a4 100644 --- a/archive-projects.php +++ b/archive-projects.php @@ -14,43 +14,40 @@ if ( ! $hero_intro ) { $hero_intro = __( 'A comprehensive catalog of WordPress plugins, custom themes, and open-source contributions developed for scalable enterprise environments. Focused on modern development practices, performant architectures, and secure integrations.', 'ks-portfolio' ); } ?> -
- -
-
-
-

-

-
+
+
+
+

+

+
- -
- -
+ +
+ +
-
- 2, - 'prev_text' => '« ' . esc_html__( 'Previous', 'ks-portfolio' ), - 'next_text' => esc_html__( 'Next', 'ks-portfolio' ) . ' »', - ) - ); - ?> -
- -
-

-

-
- -
+
+ 2, + 'prev_text' => '« ' . esc_html__( 'Previous', 'ks-portfolio' ), + 'next_text' => esc_html__( 'Next', 'ks-portfolio' ) . ' »', + ) + ); + ?> +
+ +
+

+

+
+
diff --git a/front-page.php b/front-page.php index a2f3aff..192c968 100644 --- a/front-page.php +++ b/front-page.php @@ -1,6 +1,6 @@ -
- -
-
-
- -

- - -

- -
- - > - - - - - > - - - -
-
-
-
-
- -
-
-

- - → - -
-
- - 'projects', - 'posts_per_page' => 3, - 'no_found_rows' => true, - ) - ); - - if ( $recent->have_posts() ) : +
+
+ -
- have_posts() ) : - $recent->the_post(); - get_template_part( 'views/components/project-card' ); - endwhile; - wp_reset_postdata(); - ?> -
- -
-

-

-
- -
+ + - diff --git a/header.php b/header.php index dc30807..e1f95ee 100644 --- a/header.php +++ b/header.php @@ -11,6 +11,7 @@ namespace KsPortfolio; global $views; $headerLogo = getFieldValue( 'header.header_logo.url' ) ? getFieldValue( 'header.header_logo.url' ) : get_theme_file_uri( '/static/img/logo.svg' ); +$linkResume = getFieldValue( 'header.resume_link' ) ? getFieldValue( 'header.resume_link' ) : ''; // Check conditions for displaying the hero section $showHero = in_array( @@ -25,23 +26,6 @@ $showHero = in_array( ), true ); - -// Carbon Blue project templates render their own

inside the .aura-bg -// hero, so suppress the page-hero partial on those templates to avoid -// duplicate

elements on the page. -$projectTemplates = array( 'front-page', 'archive-projects', 'single-projects' ); -$isProjectTemplate = in_array( get_page_template_slug( get_the_ID() ), $projectTemplates, true ); -if ( ! $isProjectTemplate ) { - $isProjectTemplate = in_array( get_post_type(), array( 'projects' ), true ) && ( - is_front_page() - || is_archive( 'projects' ) - || is_singular( 'projects' ) - ); -} -if ( $isProjectTemplate ) { - $showHero = false; -} - ?> @@ -60,19 +44,19 @@ if ( $isProjectTemplate ) { -