Call to undefined function the_content_limit()

I came across this annoying error while making this blog. I just wanted to excerpt the content in the main page and append a “Read More” tag having permalink to that post. Thanks to wordpress for being so simple to understand. I figured it out in minutes. Hope this will help some one out there. Here is the solution ,

Step 1: Open this page

Step 2: Copy the contents of the page.

Step 3: Open up notepad/wordpad or any other text editor,

Step 4: Paste the copied content and save it. Read More…