Testing Wygwam 2.7 with a Youtube video uploaded via the Embed Media button, but the embed needs to be removed when an excerpt of the entry appears on the home page. Can this be done with Wygwam natively?

  • Yes, most likely, but we need more info to help you. Did you create a separate excerpt field (separate from the Wygwam field)? What's your current template code look like? What's the Wygwam field name? Apr 14 '13 at 23:21

Sure thing. From the docs:

{wygwam_field text_only="yes"}

This will strip all other HTML as well, but for an excerpt that's probably desirable anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.