Free
Enqueue Scripts Asynchronously in WordPress
If you regularly build sites with WordPress and test them against Google PageSpeed Insights, you’ll probably have encountered it complaining about async and defer on your scripts.
v@wordpress/scripts
The official WordPress JavaScript tool
npm install @wordpress/scripts --save-dev
package.json
npm install
Changing file entry and output of build scripts
Watch and compile
npm run start
Import JavaScript

Automatically set image Alt-Text during upload in WordPress
File Renaming on Upload without plugin in WordPress
Rename files during upload within WordPress
How to remove accents from uploaded filenames
Remove Genesis Admin Warnings
If You have a Genesis Pro Lifetime subscription, there’s an annoying notification in the plugins section. Just paste the following snippet in the functions.php to remove the warning messages.


Display Option Pages for Post Object, Repeater
<?php if( have_rows('your_repeater_field', 'option') ): ?>
<?php while ( have_rows('your_repeater_field', 'option') ) : the_row(); ?>
<?php $post_object = get_sub_field('your_post_object', 'option'); ?>
<?php if( $post_object ): ?>
<?php $post = $post_object; setup_postdata( $post );
$title = get_the_title( $post_object->ID); ?>
<h4><?= $title ?></h4>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
ACF Query Upcoming and Past Events
events-query.php
upcoming.php
past.php
ACF Repeater & Post Object & Options Pages
Option Page template for Advanced Custom Fields
Accordion for ACF Repeater Field
PHP
JS
SCSS
Hide Free Shipping Notice of Current User is WholeSale Customer
Shadow Divider with CSS

Add Custom Fields to Rest API
Query Posts by Custom Fields in WordPress
Query WordPress Posts by Advanced Custom Fields
Unset Shipping Methods if Free Shipping is Available
Unset all other shipping methods
Unset specific shipping method