GUTENBERG ACF PRO

June 6, 2019, 2:46 pm

GUTENBERG ACF PRO

June 6, 2019, 2:46 pm by

I updated to WordPress 5.0 and have an unauthorized copy of ACF Pro running on my install. I was getting the following error message when trying to add any block to a post:

TypeError: Object(...) is not a function

The Fix:

Manually edit the file /plugins/advanced-custom-fields-pro/assets/js/acf-input.min.js and replace all instances of wp.hooks with wp.acf_hooks.

Don't forget to clear the cache.

Generate Table of Contents Using H-Tags

Slugged navigation and internal links are important in search engine optimization ranking and scoring.

Open External Links in a New Tab

Here’s a simple jQuery snippet I wrote that filters through elements.

WordPress Auto Add Alt Tags

WordPress function to automatically add ALT tags to images on upload based off of the file name.

Gutenberg and ACF Pro

After updating to WordPress 5 I was getting errors when attempting to add any block to a post. Here's how I fixed it.

How to Make a Free Website

After updating to WordPress 5 I was getting errors when attempting to add any block to a post. Here's how I fixed it.