title: How to limit an excerpt in wordpress?
body: <p>I'm using the Events Calendar by Modern Tribe in my website and I want to modify the widget.  I have everything the way I want it except for one small detail... the excerpt.  This is how the section of my code looks in my website, which pulls the events description.  But I don't want the full description for the widget... I only one 10 words or so, followed by an ellipse (...).  Any thoughts?  </p>
  
  <pre><code>&lt;div class="entry-content tribe-events-event-entry" itemprop="description"&gt;
      &lt;?php if (has_excerpt ()): ?&gt;
          &lt;?php the_excerpt(); ?&gt;
      &lt;?php else: ?&gt;
          &lt;?php the_content(); ?&gt;
      &lt;?php endif; ?&gt;
  &lt;/div&gt; &lt;!-- End tribe-events-event-entry --&gt;
  </code></pre>