jquery slider not working in post body in wordpress

I have a jQuery slider and I want it to embed it in the body of the WordPress page, like this

<div class="container">
<div class="main">
<div id="cbp-contentslider" class="cbp-contentslider">
content for slider here
</div>
</div>
</div>

But this code works perfectly in header of the post. When I try to insert it into body of the page its behavior and lok changes completely. I can’t understand where I am wrong.

Read more here: jquery slider not working in post body in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *