Add Informational Message Below the Username Field in the Login/Register Form #The Greek
This code adds an informational message below the username input field in the login or registration…
Disable default WordPress image sizes
// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…
Display the stock availability for all product types in WooCommerce archive pages
Learn how to add Availability label ? in your WooCommerce website. This will help to notify…
MemberPress: Code Blocks Pro - Load All Currently Enqueued Styles In the Courses ReadyLaunch Template
By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.
Increase Memory Limit During Download Delivery
Increase the memory limit of your server to support the delivery of large downloads.
Body on Scroll
;(function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 5) { $("body").addClass("scroll-500"); $(".tm-header").removeClass("uk-blend-difference");…
Hiltop Desktop Ads Popup
Hiltop PopUp Anti Ads
JavaScript for Craft Picker
// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
webfontloader.js
// Add custom scripts function add_custom_script_webfont_loader_js() { wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true ); wp_enqueue_script( 'webfontloader'…
Delete Woocommerce images after deleting product
Automatically Delete WooCommerce Images After Deleting a Product. If you use the same image of multiple…