Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children

You have to hook into wp_nav_menu_items and build your own menu there. A little guide for working with this hook can be found at wpbeginner.

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