Get excerpt using get_the_excerpt outside a loop

I found this question when looking how to do this without the post object.

My additional research turned up this slick technique:

$text = apply_filters('the_excerpt', get_post_field('post_excerpt', $post_id));

Leave a Comment

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