346

How to Change MyListing Package Selection Button Text to “Free”

Enhance your MyListing website’s add a listing flow. This snippet detects package names like “Basic” and changes the selection button text to “Free,” offering more control over your listing packages. Easily adjust the criteria and output text to fit your needs.


/**
 * Author: MyListing Club
 * Author URI: https://mylisting.club
 */

jQuery(document).ready(function($) {
    $('.c27-packages .pricing-item .plan-name:contains("Basic")').siblings('.select-package').find('a').html('Free <i class="mi arrow_forward">')
});

Other Snippets

WPCodeBox is a WordPress Code Snippets Manager that allows you to share your WordPress Code Snippets across your sites.