-
Disable adding or updating plugins, themes or WordPress itself in the WordPress admin
Add to wp-config.php: Useful when managing plugin updates via Composer.
-
Only output HTML for a WordPress menu location, if a menu is set for that location
Otherwise it falls back to echoing another menu (the first?) instead of nothing.
-
Change post type for WordPress posts with WP-CLI
In this example, I’m modifying all the posts with a legacy custom post type that I want to get rid of to use the Yoast SEO: Local custom post type for locations instead.
-
Prevent WordPress image from being lazy loaded
You need to set the loading attribute to eager.
-
Fix to use Valet Plus with WordPress multisite subdirectory install
https://github.com/jeremyfelt/valet-plus/commit/7716adaabbe451641d6c90a299e7fc1e02bc7848
-
Updating jQuery code in your unmaintained WordPress plugin or theme
Updating jQuery code in your unmaintained WordPress plugin or theme