How do I hide submenus from the top menu bar?

If you want to hide sub menus all you need to do is not have them in the first place. Try going to the admin panel’s menus section and just remove the unwanted sub menus from the menu itself.

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