thanks for the reply!
i have just created a functions.php file:
<?php
remove_action('after_setup_theme', 'kadence_setup');
function kadence_setup_custom() {
register_nav_menus(array(
'primary_navigation' => __('Primary Navigation', 'virtue'),
'secondary_navigation' => __('Secondary Navigation', 'virtue'),
'mobile_navigation' => __('Mobile Navigation', 'virtue'),
'topbar_navigation' => __('Topbar Navigation', 'virtue'),
'footer_navigation' => __('Footer Navigation', 'virtue'),
));
add_theme_support('post-thumbnails');
add_image_size( 'widget-thumb', 80, 80, true );
add_post_type_support( 'attachment', 'page-attributes' );
add_theme_support( 'automatic-feed-links' );
add_editor_style('/assets/css/editor-style.css');
}
add_action('after_setup_theme', 'kadence_setup_custom');
?>
and i get this error:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in functions.php on line 6
i dont really know much about functions.php. nothing to be exact ?? so what am i doing wrong?