Untitled Snippet

Jean Cress-Black
<10

Custom fields to vendor settings page

add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>

Allow WooCommerce Shop Managers to manage vendors

/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…

login redirect changed from default my account page to home page

/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…

To create the map and mapper as written by kodee

document.addEventListener('DOMContentLoaded', function () { const map = L.map('treasure-map').setView([51.5033, -0.1196], 12); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors'…

Search Only Title

Limit the search to post title only, ignore content

Advanced Logout Redirect

Upon logout, redirect all users to home page.

Discover Games That Make You Think

Every math game offers a different challenge. Some test your speed, while others require patience, creativity,…

Advanced Spam Filters for Elementor Forms

Filter spam emails by either email provider @gamil.com, @hotmail.com, or whatever you want. You can also…

Tasty Pins - Remove the Pin button for an image by URL

Easily exclude images from having this pin it button using the image url by javascript snippet:

<10

Allow Eventbrite Styles in Long Description | Display Eventbrite Events

Since version 5.3.4 the Display Eventbrite Plugin has been removing the inline styles Eventbrite add to…

Add duplicate link to admin bar menu

Extend the WPCode duplicate snippet (https://library.wpcode.com/snippet/7oqnzxow/) with an admin bar menu item. The duplicate snippet needs…

<10
1 … 172 173 174 175 176 … 242