Is there anything like admin_notices for front end?

There is no such action in the front end (in a theme) by default. Simply use a custom action like

do_action( 'theme_notices' );

and hook into this one.

Leave a Comment

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