• I can shorten it but how about expanding?

    I tried

    <?php echo substr(get_the_excerpt(), 0,500); ?>

    but it only works to a certain limit. The reason I’m not using the_content is to disable formating and post images. Is there any way to achieve this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Expanding the post excerpt’ is closed to new replies.