Replacing nav-menus.php file with standard clean one?

To answer your question, you can find the original file in the WordPress Github repository. However, when a WordPress website is hacked and has malware infected files it is recommended to reinstall the entire site with a clean install (without plugins), check the database for infected entries and change all (WordPress, database, etc) passwords. When … Read more

how do you create this customize menu using wp_nav_menu function?

You can to pass class into function arguments: ‘menu_class’ (string) CSS class to use for the ul element which forms the menu. Default ‘menu’. So you can try this: <?php $args = array( ‘menu_class’ => ‘nav header-nav header-bottom-nav nav-center nav- uppercase’, ‘menu’ => ‘(your_menu_id)’ ); wp_nav_menu( $args ); ?> You can read about WordPress Menus. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)