WordPress Thumbnail add action if no thumbnail

The hook the_post is not the right hook for this.

You can add a filter to the_content, see http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content

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