Filterable grid: filters do not work.

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
FerBcn
May 09, 2017 10:56 PM 1 Answers General
Member Since May 2017
Subscribed Subscribe Not subscribe
Flag(0)

Hello.

 

I set up a filterable grid and filters are not working.

I saw that the plugin is inserting <p></p> tags in script lines, so I get Sintax error in console (Unexpected token <)

This is the code:

<p> <script>
jQuery(document).ready(function($)
{
$("#post-grid-528 .layer-media .gallery").owlCarousel({</p>
<p> items : 1,
navText : ["",""],
autoplay: true,
loop: true,
autoHeight : true,
nav : false,
dots : false,
})
});</p>
<p> </script><br />
<script>
/*Write your js code here*/
</script> <script>jQuery(window).load(function(){jQuery("#post-grid-528 .grid-items").masonry({isFitWidth: true}); });</script></p></div>
<p> <!-- End .post-grid --></p>

 

How can I get rid of those <p> thas?

 

thanks

 

 

<p> <script>
jQuery(document).ready(function($)
{
$("#post-grid-528 .layer-media .gallery").owlCarousel({</p>
<p> items : 1,
navText : ["",""],
autoplay: true,
loop: true,
autoHeight : true,
nav : false,
dots : false,
})
});</p>
<p> </script><br />
<script>
/*Write your js code here*/
</script> <script>jQuery(window).load(function(){jQuery("#post-grid-528 .grid-items").masonry({isFitWidth: true}); });</script></p></div>
<p> <!-- End .post-grid --></p>
2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
1
PickPlugins
May 09, 2017
Flag(0)

Welcome to our forum.

this issue is happening because of wpautop function.

please add following code to your theme functions.php and let me know the result.

remove_filter( 'the_content', 'wpautop' );

https://codex.wordpress.org/Function_Reference/wpautop

Regards

PickPlugins
- May 13, 2017 10:40 AM
Flag (0)
0

Please send me temporary admin.

Regards

FerBcn
- May 11, 2017 02:43 PM
Flag (0)
0

Hi Nur.

Page is not open yet. I could send you user and password to access the backend.

PickPlugins
- May 11, 2017 12:47 PM
Flag (0)
0

Please send me your link.

Regards

6+ more comments. Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets