I did modified the index.php. Here is the original code:
<?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>
I modified it to the following:
<?php if (is_search()) the_excerpt(); else the_excerpt_reloaded(100, ‘<img><div>’, ‘none’, TRUE, ‘[Read More…]’, TRUE); ?>
However, I got the error message,
Fatal error: Call to undefined function the_excerpt_reloaded() in /home/pankas/public_html/wp-content/themes/dcomputers/index.php on line 37
Where can I find line 37? In my server? How do I go about it?
- The topic ‘Code for excerpt’ is closed to new replies.