I actually found the answer on stackexchange as well: https://wordpress.stackexchange.com/a/184149/132736
I need to replace the 'theme-location'
by 'theme_location'
. I simply misread the function reference on the WordPress codex.
I actually found the answer on stackexchange as well: https://wordpress.stackexchange.com/a/184149/132736
I need to replace the 'theme-location'
by 'theme_location'
. I simply misread the function reference on the WordPress codex.