jQuery Detect if element is in viewport
The long awaited trigger
WooCommerce default quantity grouped product
How to set default quantity in a grouped product to 1 (or x)
jQuery action on scroll Y position or element trigger
Use jQuery actions on scroll, for example to show a header only on scrolling up, or changing section color when scrolling past a specific element.
jQuery most used actions
Some of (my) most used actions with jQuery, repeated here for copy and paste application
Elementor dynamic add class from ACF field
Set a dynamic class to a section/widget from an ACF field value. If value is empty, no class is added. Very handy with checkbox to use for conditional CSS with (custom) posts.
PHP WP-Admin dashboard styling CSS
Add CSS to the WP-Admin dashboard backend, for general styling or to hide elements for specific users
PHP add body classes
Use php to add body classes based on any condition to use for hooking into for CSS styling
JS countdown + forward to url
Forward a visitor of a page to another url x time after landing, and show the countdown
PHP Search query hide/ignore posts
Hide specific posts and/of post-types from search results.
jQuery do something if referrer URL contains ‘string’
Check with JS if the URL that the visitor came from when landing contains a certain string