Does anyone know how I might get rid of breaks/newlines from the_excerpt? I want to configure a digg badge for each of my posts, and the code looks like this:
The only problem, however, is that
digg_bodytext = '<?php trim(the_excerpt()); ?>';but that didn’t work.
Any suggestions? (And sorry if this is the wrong section…I wasn’t sure if it was a “hack” or something “advanced” – it’s not really any of them.)
- The topic ‘Trim the_excerpt’ is closed to new replies.