WordPress.org

Support

Support » How-To and Troubleshooting » Code for excerpt

Code for excerpt

  • I did modified the index.php. Here is the original code:
    <div class=”art-PostContent”>
    <?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>

    I modified it to the following:
    <div class=”art-PostContent”>
    <?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?

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Code for excerpt’ is closed to new replies.