How to Change WooCommerce Default Cata...
This WooCommerce snippet allows you to easily change the default catalog order by pri...

WPCodeBox
647
Improve your MyListing website’s user experience by hiding empty “Related Listings” tabs with this efficient code snippet. Reduce distraction and streamline your site’s navigation by only displaying relevant content.
/**
* Author: MyListing Club
* Author URI: https://mylisting.club
*/
jQuery(document).ready(function ($) {
$(
".profile-header .profile-menu ul li a.toggle-tab-type-related_listings .items-counter"
).each(function (index, el) {
setInterval(function () {
if ($(el).text() == "0") {
$(el).closest("li").hide();
}
}, 500);
});
});





