Creating Menu Links in a Custom Theme

If you’re not using the default menu manager then already following a bad practice. Without using the menu manager you can create menu the way you’re doing but I think get_permalink() will add some flexibility in this case or you can check the user contribution section of get_permalink(). There are some nice examples which might be helpful for you.

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