Title: Wrap Excerpt Text
Last modified: August 30, 2016

---

# Wrap Excerpt Text

 *  [vtechteam](https://wordpress.org/support/users/vtechteam/)
 * (@vtechteam)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wrap-excerpt-text/)
 * A few questions on correct code if possible.
 * 1) Is it possible to wrap the text displayed. Currently it shows the horizontal
   scroll bar under the post excerpt.
    Screen Shot: [http://screencast.com/t/tLbyVSrSXBFl](http://screencast.com/t/tLbyVSrSXBFl)
 * 2) Is there a way to use the content short code but not display video in that
   post.
 * 3) Can it display a small thumbnail of the video beside the title and be clickable
   to actual post.
 * Here is my current code:
    [loop type=post category=”webinar-replays”] [field 
   title-link] – [field excerpt] [/loop]
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wrap-excerpt-text/#post-6325176)
 * 1) The horizontal scroll bar is due to the CSS styling of the box (and the length
   of the text overflowing). To make the text wrap, you’ll have to adjust the CSS–
   the box most likely has `overflow-x:auto` set. It might take some work to get
   the result you want – it looks like the box has a fixed height, which means if
   you just set `overflow-x:visible`, the text might overflow to the right instead
   of wrapping and increasing the height of the box. It’s hard to say without looking
   at it in action.
 * 2) This plugin doesn’t have a way to extract or manipulate elements inside the
   content. To not display video..`[field excerpt]` is supposed to remove HTML tags,
   but it sounds like it’s leaving the video. Hmm..another way is to use CSS to 
   set `display:none` to the video element in question – although that’s not so 
   elegant of a solution.
 * 3) If the video thumbnail already exists as an image and it’s attached to the
   post, then it’s possible to display it as a link. However, the plugin cannot 
   generate thumbnails from videos. I believe there’s another plugin that does exactly
   that, although the name escapes me at the moment.

Viewing 1 replies (of 1 total)

The topic ‘Wrap Excerpt Text’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/wrap-excerpt-text/#post-6325176)
 * Status: not resolved