'; // 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 '' ; } else { // The image is decorative, add an empty alt attribute. echo ' alt="" >'; } } if ( get_theme_mod( 'aaron_highlight' . $i . '_link' ) ) { echo ''; } if ( get_theme_mod( 'aaron_highlight' . $i . '_headline' ) ) { echo '

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

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

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

'; } // Close the link. if ( get_theme_mod( 'aaron_highlight' . $i . '_link' ) ) { echo '
'; } echo ''; } } } } }