title: Advanced Custom Fields Add Class to Element
body: <p>I'm using Advanced Custom Fields' flexible content area in a Wordpress theme that I'm developing. One of my <code>sub_field</code>s requires a <code>textarea</code>.</p>
  
  <p>When I make my <code>get_sub_field</code> call from my template it is already wrapped in <code>&lt;p&gt;&lt;/p&gt;</code> tags. How do I go about adding a class to that paragraph?</p>
  
  <p>Example:</p>
  
  <pre><code>get_sub_field('textarea');
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;p&gt;This is my textarea.&lt;/p&gt;
  </code></pre>
  
  <p>Desired:</p>
  
  <pre><code>&lt;p class="my-class"&gt;This is my textarea.&lt;/p&gt;
  </code></pre>
  
  <p>Thanks for your help!</p>