title: How to add class after more
body: <p>Hello I have a post in wordpress and I use the_excerpt function to hide some text but I want to display it after click read more without reloading page and I need also to add to this hidden text a class and style how can i do it?</p>
  
  <pre><code>&lt;?php
  // The Query
  $the_query = new WP_Query( array( 'post_type' =&gt; 'oferta', 'orderby' =&gt; 'date', 'order' =&gt; 'DESC', 'posts_per_page'=&gt;-1 ) );
  // The Loop
  while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post();                                        
  $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id ( $the_query-&gt;ID ), 'thumbnail' );
  ?&gt;  
  &lt;div class="col-sm-6"&gt;
  &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
  &lt;?php the_excerpt(); ?&gt;
  &lt;/div&gt;   
  &lt;?php endwhile ?&gt;
  </code></pre>