Disable WYSIWYG rich text editor only on post excerpt

Excerpts can be automatically generated in which case you have some control over them or manually generated in which case there is very little control available, and the wordpress way is that they may have any type of content. if you need something more restrictive you will need to create your own “meta box” for your specific needs, and probably design an API to retrieve it.

The other alternative is to not use an excerpt retrieved using the wordpress APIs but generate one by yourself from the content.

Leave a Comment