/** * Gravity Wiz // Gravity Forms // Populate Date * * Provides the ability to populate a Date field with a modified date based on the current date or a user-submitted date. * * @version 2.8 * @author David…Continue reading
add_filter( ‘fes_user_nicename_to_lower’, ‘prefix_fix_vendor_url’, 10, 2 ); /** * Fix the vendor URL for a specific user. * * @param $nicename * @param $user * @return string */ function prefix_fix_vendor_url( $nicename, $user ) { if ( ‘[email protected]’ === $user->user_email ) {…Continue reading
function open_internal_links_in_new_tab() { echo ‘ ‘; } add_action(‘wp_footer’, ‘open_internal_links_in_new_tab’);Continue reading
// Get the butterflies container const butterfliesContainer = document.querySelector(‘.butterflies’); // Create a function to generate a butterfly function createButterfly() { const butterfly = document.createElement(‘div’); butterfly.className = ‘butterfly’; butterfliesContainer.appendChild(butterfly); return butterfly; } // Create multiple butterflies for (let i = 0;…Continue reading
/* Custom editor styling for WPCode IDE window */ #wpcode-snippet-manager-form .CodeMirror pre { tab-size: 2 !important; line-height: 18px; font-family: “JetBrains Mono”, monospace; font-feature-settings: “calt”; font-size: 13px !important; font-variant-ligatures: no-common-ligatures; } /* WPCode snippets list table */ table.wpcode-snippets .manage-column.column-name { width:…Continue reading