Add function to single blog post pages only

Add the check for a single post:

if ( is_single() && 'post' == get_post_type() ) {

 add_action( 'presscore_after_content', 'insert_cp_banner' );
}

See this for details: https://developer.wordpress.org/reference/functions/is_single/

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