Widget HTML Display Problem

That’s a common mistake, Shortcodes should return values and not echo.

Remember, the Codex is your Friend 😉

Shortcode_API#Output

Output
The return value of a shortcode handler function is inserted into the post content output in place of the shortcode macro. Remember to use return and not echo – anything that is echoed will be output to the browser, but it won’t appear in the correct place on the page.

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