title: Wordpress use the_content() with out gallery?
body: <p>Is it possible to use the_content() excluding the galleries? I want to make this because I need the gallery displayed with flexslider. I already integrate flexslider. If I want to show the content of the post, for example: some text, separated images and of course a gallery. It will display the gallery with flexslider and then the content with the text, images and the gallery again. I don't want the gallery duplicated. </p>
  
  <pre><code>&lt;div class="entry-content"&gt;
  
      &lt;?php $gallery = get_post_gallery( get_the_ID(), false );?&gt;
  
      &lt;div class="flexslider flexslider-gallery"&gt;
          &lt;ul class="slides slides-gallery"&gt;
              &lt;?php foreach( $gallery['src'] AS $src ){ ?&gt;    
                  &lt;li&gt;
                      &lt;img alt="Gallery image" src="&lt;?php echo $src; ?&gt;" /&gt;
                  &lt;/li&gt;          
              &lt;?php } ?&gt;   
          &lt;/ul&gt; &lt;!-- end .slides --&gt;
      &lt;/div&gt; &lt;!-- end .flexslider --&gt;  
  
  &lt;?php the_content(); ?&gt;
  &lt;/div&gt;&lt;!-- .entry-content --&gt;
  </code></pre>