Closed EmranAhmed closed 7 years ago
DON'T use:
if (get_theme_mod('blog_icon_class') == '') { $icon_class = flexia_get_option('blog_icon_class'); } else { $icon_class = get_theme_mod('blog_icon_class'); }
USE:
$icon_class = get_theme_mod('blog_icon_class', 'default icon class');
Take a look: https://codex.wordpress.org/Function_Reference/get_theme_mod
DON'T use:
USE:
Take a look: https://codex.wordpress.org/Function_Reference/get_theme_mod