Insert Template at the Bottom of the Mobile Menu
The following snippet can be used to insert a custom template in the bottom region of…
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
MemberPress: Hide Protected Posts from Search Results
Hide any posts that the current user (or guest) does not have access to from search…
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
Child Support Calculator
function child_support_calculator_shortcode() { // Enqueue the JavaScript wp_enqueue_script('child-support-calculator', get_template_directory_uri() . '/path-to-your-js-folder/child-support-calculator.js', array('jquery'), '1.0.0', true); ob_start(); include…
Set a minimum, and maximum price for products
Set a minimum, and maximum price for products
Yoast SEO
Integration with Yoast SEO with WC Vendors
Rank Math
Support for Rank Math
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add the fields to the user edit screen
// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
Use Full Store Address in Ships From
add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…