Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- call it with:
- ----------------------------
- <?php echo substr( get_the_excerpt(), 0, strrpos( substr( get_the_excerpt(), 0, 75), ' ' ) ); ?>
- v2 with link:
- ----------------------------
- <a title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>">
- <strong><?php echo substr( get_the_excerpt(), 0, strrpos( substr( get_the_excerpt(), 0, 175), ' ' ) ); ?></strong>
- </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement