fonction hu_setup = menu disabled
-
Hello,
When i try to add my personnal codes in functions.php (in my child theme for Hueman 3.2.12):
function hu_setup() {
// Thumbnail sizes
add_image_size( ‘thumb-medium’, 524, 247, true );
add_image_size( ‘mininews’, 90, 90, true );add_filter(‘image_size_names_choose’, ‘my_custom_sizes’);
function my_custom_sizes( $sizes ) {
return array_merge( $sizes, array(
‘mininews’ => __(‘Mini-news’),
) );
}
}It’s works but my menu disapear and in Appearence > Menus it say “your theme cant use menus” …
If i remove the function hu_setup() { code stop work but menu is back…How fix that ?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘fonction hu_setup = menu disabled’ is closed to new replies.