<link rel="preload" as="image" href="<?php echo esc_url( wp_get_attachment_url( get_theme_mod( 'custom_logo' ) ) ); ?>">
<link rel="preload" as="image" href="<?php
global $wp_query;
// get the query object
$cat = $wp_query->get_queried_object();
// get the thumbnail id using the queried category term_id
$thumbnail_id = get_term_meta( $cat->term_id, 'thumbnail_id', true );
// get the image URL
$image = wp_get_attachment_url( $thumbnail_id );
?><?php echo $image ?>">
<link rel="preload" as="font" href="/wp-content/uploads/Gotham-Book-400-bettersound.woff2" crossorigin>
<link rel="preload" as="font" href="/wp-content/uploads/Gotham-Bold-700-bettersound.woff2" crossorigin>
<link rel="preload" as="script" href="/wp-includes/js/jquery/jquery.min.js" />