'; // Lets make the whole area clickable if there is a link. if ( get_theme_mod( 'aaron_highlight' . $i . '_link' ) ) { echo ''; } // If there is an icon, show it unless there is also an image, then the image will replace the icon. if ( get_theme_mod( 'aaron_highlight' . $i . '_icon' ) && get_theme_mod( 'aaron_highlight' . $i . '_icon' ) !== 'no-icon' && ! get_theme_mod( 'aaron_highlight' . $i . '_image' ) ) { echo ''; } // If there is an image, show it. if ( get_theme_mod( 'aaron_highlight' . $i . '_image' ) ) { echo ''; } if ( get_theme_mod( 'aaron_highlight' . $i . '_headline' ) ) { echo '

' . wp_kses_post( get_theme_mod( 'aaron_highlight' . $i . '_headline' ) ) . '

'; } if ( get_theme_mod( 'aaron_highlight' . $i . '_text' ) ) { echo '

' . wp_kses_post( get_theme_mod( 'aaron_highlight' . $i . '_text' ) ) . '

'; } // Close the link. if ( get_theme_mod( 'aaron_highlight' . $i . '_link' ) ) { // Add a link text for screen readers if there is no link text. if ( ! get_theme_mod( 'aaron_highlight' . $i . '_headline' ) && ! get_theme_mod( 'aaron_highlight' . $i . '_text' ) ) { echo '' . esc_html__( 'Follow the link to learn more about this featured content.', 'aaron' ) . ''; } echo '
'; } echo ''; } } } } }