Search results for: admin
Fix Formating of Buttons in Off Canvas
This fixes the buttons in the off canvas not obeying the global CSS from the Customiser
Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
How to Programmatically Attach a File to Email Notifications
This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.
Mapping WPForms Checkbox Values to ACF Checkbox Fields
This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…
Logged in User Drop Down Menu
Along with the Avatar and User Shortcode Snippet, this can display a nice logged in User…
master home page final
Shop Doggyography Blog Contact More than a collar. A nightly transformation. An expression of identity. A…
Changing the WordPress Login Logo URL
function custom_login_logo_url() { return home_url(); // Or your desired URL } add_filter( 'login_headerurl', 'custom_login_logo_url' );
Font Weight correction for Menu Subcategories
.mc_vertical_menu h3 { font-weight: 600 !important; }
Limit Revisions
/** * Limit WordPress revisions to 5 for all post types. */ add_filter('wp_revisions_to_keep', function ($num, $post)…
Javascript Org Chart
window.onload = function() { // Initial organizational data structure let orgData = { id: '1', name:…
Custom Separator for Data Manipulation
The Data Manipulation default separator is a space. You can change this to a custom separator…