diff --git a/includes/class-template.php b/includes/class-template.php index de3a806..dc63288 100644 --- a/includes/class-template.php +++ b/includes/class-template.php @@ -47,6 +47,9 @@ class DDHH_JM_Template { $author = get_userdata( $post->post_author ); $author_name = $author ? $author->display_name : ''; $author_org = get_user_meta( $post->post_author, 'ddhh_org_name', true ); + if ( ! $author_org ) { + $author_org = $author_name; + } // Build job details HTML ob_start(); @@ -145,19 +148,15 @@ class DDHH_JM_Template { margin: 2em 0; } .ddhh-job-offer-details .job-header { - display: flex; - align-items: center; - gap: 1em; margin-bottom: 2em; } - .ddhh-job-offer-details .job-header .job-logo { - flex-shrink: 0; - } .ddhh-job-offer-details .job-logo img { max-width: 200px; height: auto; } .ddhh-job-offer-details .job-header-org { + display: block; + margin-top: 0.5em; font-size: 1.4em; font-weight: 600; color: #333;