Search results for: admin
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…
Dynamic logo sizing
Fix the issue where changing the logo size in the block editor breaks it. Dynamically adjust…