Skip to content

Commit

Permalink
Merge pull request #941 from equalizedigital/feature/local-dev-branch
Browse files Browse the repository at this point in the history
class
  • Loading branch information
tronsymphony authored Nov 9, 2023
2 parents 144e87a + cf7ab11 commit 92c7bff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@
tha_head_bottom();
echo '</head>';

echo '<body class="' . esc_attr( join( ' ', get_body_class() ) ) . '" id="top">';
if ( is_post_type_archive( 'eqd-featured-press' ) ) {
$body_classes = 'press-archive-page';
}

echo '<body class="'. $body_classes . ' ' . esc_attr( join( ' ', get_body_class() ) ) . '" id="top">';
wp_body_open();
tha_body_top();



echo '<div class="site-container">';
echo '<a class="skip-link screen-reader-text" href="#main-content">' . esc_html__( 'Skip to content', 'eqd' ) . '</a>';

Expand Down

0 comments on commit 92c7bff

Please sign in to comment.