Add widgets to available widgets section without changing the theme?

Yes, you can add widgets through plug-ins the same way you add them through themes. So move the widget code from your functions.php file and drop it inside a custom plug-in. You’ll get the same functionality without the need to modify your theme.

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