Retrieving post excerpt as a shortcode

Just add this to your child theme’s functions.php file:

add_shortcode( 'output_post_excerpt', 'get_the_excerpt' );

Then use [output_post_excerpt]

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