You can resolve the $ symbol conflict with other plugins by wrapping the function inside the red font.
<script type= "Text/javascript" >
(function ($, window, document) {
$ (document). Ready (function () {
var param_cats = $ ("input[name= ' category[] ']:checked"). Val ();
if (param_cats = = NULL | | param_cats = = ") {
Param_cats = ' 0 ';
}
else {
$ (' #ehp-topblogs-title '). html (' Top Blogs in ' + $ ("Input[name= ' category[] ']:checked"). Next (). HTML () + ': ');
$ (' #ehp-topblogs-title '). html (' Top Blogs in all Categories: ');
}
var post_data_top_loved = {
Action: ' Top_loved ',
Item_cats:param_cats,
Top_loved_nonce:top_loved_vars.nonce
};
$.post (Top_loved_vars.ajaxurl, post_data_top_loved, function (response) {
$ (' #divBlogsGroup '). HTML (response);
$ (' #span-blog-loading '). Delay (). hide ();
});
// });
}) (JQuery, window, document);
</script>
(Function ($, window, document) {}) JQuery call resolves the syntax for conflicts with other JavaScript libraries