0

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?

1
  • 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? Commented Apr 14, 2013 at 23:21

1 Answer 1

1

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 and acknowledge you have read our privacy policy.

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