Assigning a Setting to a Variable and Using it in an if Statement
UPDATE: Per your comment, DDS means Disable Dynamic Style and is true when enabled, so I have modified the function accordingly. check for -> if ( is_category() && ! $DDS ) : Short answer, yes you can use a variable representing this function get_theme_mod(‘dds’) Now I don’t know what will be the result of that … Read more