Using wp_trim_excerpt to get the_excerpt() outside the loop

Posted by Prem Tiwari | Updated on

Here is a derivative of wp_trim_excerpt() which I used. Works perfectly. Derived from WordPress:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers