"no-icon" OR get_theme_mod( 'aaron_highlight' . $i . '_image' ) ){ echo '
'; //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' ) AND get_theme_mod( 'aaron_highlight' . $i . '_icon' ) <>"no-icon" AND !get_theme_mod( 'aaron_highlight' . $i . '_image' ) ){ echo ''; } //If there is an image, show it :) if ( get_theme_mod( 'aaron_highlight' . $i . '_image' ) ){ echo '"" ){ echo 'alt="' . esc_attr( get_theme_mod( 'aaron_highlight' . $i . '_alt' ) ) . '" >' ; }else{ echo '>'; } } 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 '
'; } } }//end for... } }