title: Append Div After 1st Paragraph For Each Article When More Than 1 Paragraph
body: <p>Is it possible to append ( rather than use .after() ) a HTML div after the first paragraph of text for each article only when there's at least 2 paragraphs for each article, otherwise don't add the div?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> $('.content').each(function() {
    var $this = $(this);
    if ($this.children('p').length &gt;= 2) {  
        $this.append('&lt;div id="toggle"&gt;Read More&lt;/div&gt;');
        $('p').not('p:first-child').wrap('&lt;div class="text" /&gt;');
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;/div&gt;
  
  &lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;/div&gt;
  
  &lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is what i need to achieve. The divs are only added when there's more than 1 paragraph of text for each content div.</p>
  
  <pre><code>&lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;div class="text" /&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;div id="toggle"&gt;Read More&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;/div&gt;
  
  &lt;div class="content"&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;div class="text" /&gt;
  &lt;p&gt;This is an example of a paragraph&lt;/p&gt;
  &lt;div id="toggle"&gt;Read More&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>