From 6c2d084c421ef6036fad5f84ef883291bc320004 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Thu, 28 Feb 2019 02:45:15 +1000 Subject: [PATCH 01/16] Account for missing Custom Icon --- inc/template-tags.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index bfcf8315..dedca2b0 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -400,7 +400,7 @@ function siteorigin_north_custom_icon( $icon, $class ) { function siteorigin_north_display_icon( $type ) { switch ( $type ) { case 'menu': - if ( siteorigin_setting( 'icons_menu' ) ) : ?> + if ( siteorigin_setting( 'icons_menu' ) && wp_attachment_is_image( siteorigin_setting( 'icons_menu' ) ) ) : ?>