Limit Revisions
/** * Limit WordPress revisions to 5 for all post types. */ add_filter('wp_revisions_to_keep', function ($num, $post)…
Font Weight correction for Menu Subcategories
.mc_vertical_menu h3 { font-weight: 600 !important; }
Disabling the Admin Bar for Non-Admin Users
add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }
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' );
master home page final
Shop Doggyography Blog Contact More than a collar. A nightly transformation. An expression of identity. A…
Logged in User Drop Down Menu
Along with the Avatar and User Shortcode Snippet, this can display a nice logged in User…
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…
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…
Set Background Color for Active Snippets (WPCode)
This code snippet sets a background color and adds a vertical activation bar to WPCode's code…
Move WPCode "Status" Column from Last to First (WPCode)
This code snippet moves the "Status" column of WPCode's code snippets table from last to first.…
Fix Formating of Buttons in Off Canvas
This fixes the buttons in the off canvas not obeying the global CSS from the Customiser
Enable Secure Forex Trade Functions
This snippet improves the website by adding essential functions for expert forex trading, including security, customization,…