WWOF - Hide the "In Stock Amount" column for non-wholesale customers

To hide a different column, swap the "elementClass" in line 29. All available element classes in…

Alert Admin When a Plugin Is Activated

Receive an email notification whenever a plugin is activated in WordPress. Useful for security monitoring, multi-admin…

Untitled Snippet

Jean Cress-Black
<10

Redirecting Vendors to Vendor Dashboard on Login

Snippet To Redirect Vendors to their Dashboard on login

Add menu item to vendor dashboard

// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…

Form action onSubmit

First Name Email Address

Framework_Fluid_CSS

Fluid Design Framework - Fonts: Viewport MIN - 320 -- Viewport MAX - 1200 Space: Viewport…

Search Only Category

Limit the search to selected category only.

Open external links in new tab

document.addEventListener("DOMContentLoaded", function() { var links = document.querySelectorAll("a[href]"); links.forEach(function(link) { if (link.hostname !== window.location.hostname) { link.setAttribute("target", "_blank");…

Image Max Pixel

Apply maximum image upload by pixel dimensions. Reject any images exceed 4000 pixel height or width…

Show Left Sidebar Before Content on Mobile

By default the sidebar always displays below the content on mobile. This code will allow you…

1 … 139 140 141 142 143 … 244