Category: WordPress
-
WordPress Memes
This is the collection of all the WordPress memes I’ve created. You Should Make Plugins Is This a PHP File? But Her Editors WordPress.com is Not WordPress
-
How to convert a Network Active plugin to active on each site
WordPress multisite allows plugins and themes to be Network Active. This prevents them from being deactivated on any site in the network. Instructions To change a plugin from Network Active on every site to individually active on each site: What does the command do? wp site list –field=url produces a list of URLs for all…
-
WordPress 6.7 supports HEIC & I’m the author of an HEIC conversion plugin
WordPress 6.7 is going to support HEIC image conversion. I’m the author of an HEIC image conversion plugin. WordPress core will soon convert HEIC, or iOS format, photos during uploads. My free plugin, HEIC Support, just crossed 3,000 active installs. Does my copy-or-replace switch remain a useful feature? Do I get obsoleted out of the…
-
How to Submit Your First Plugin Translation
Submit a second language translation to each plugin you list on wordpress.org. Why? Once a plugin has a translation, the “Languages:” section appears with a link “Translate into your language.” This link helps strangers using your plugin submit more translations. Plugins with one language do not have this link on their .org directory pages. If…
-
Free Multi-page Form Builder
This morning, I had to swap out a form builder plugin after some security breach occurred at wordpress.org or at one of its contributors. Page breaks are typically a pro feature in form plugins, with a few exceptions. I found Forminator, a form builder plugin that allows multi-page forms to be built for free. I…
-
PLUGIN_CHECK_PHP_BIN constant
The WordPress Plugin Review team released Plugin Check. They use it to scan all plugin submissions to wordpress.org, and encourage all authors to run it before uploading plugins to the directory. PLUGIN_CHECK_PHP_BIN Error Message One error asks us to create a constant: Cannot find the PHP Binary file, please define it using the `PLUGIN_CHECK_PHP_BIN` constant…
-
WordPress 6.3 Errors in Dashboard
Sites running WordPress 6.3 and plugins that add the post__not_in query variable on the parse_query hook are breaking the lists of posts and pages in the Dashboard. I found this bug because I built and maintain a plugin that did exactly this. Example pages with errors after updating to WordPress 6.3 Why? The post__not_in query…
-
Escaping and Translating Text in WordPress
WordPress core provides developers with a handful of functions to escape string content and enable translations into other languages. Translatable Strings Access the translated version of text used in plugins or themes with one of the following functions. The first, __(), returns the text. The “e” in _e() stands for echo. This function outputs the…
-
Akismet Alternatives
Blocking spam on WordPress websites is heavy work. Akismet comes pre-installed on every site, but it’s not free for businesses or the only way to stop spam. OOPSpam https://www.oopspam.com/ CleanTalk https://cleantalk.org/ Stop Forum Spam https://www.stopforumspam.com/ Project Honey Pot https://www.projecthoneypot.org/ Zero Spam https://www.zerospam.org There are a ton of anti-spam WordPress plugins. The criteria for this list…
-
TypeError: c is not a function
If you’re building blocks for WordPress, and the error TypeError: c is not a function is logged in your browser’s developer console, you may have created a TextControl component and failed to include both value and onChange attributes. This code will cause the error: This is a correct syntax:
-
Gravity Forms confirmation not working. Instead, “Thanks for contacting us! We will get in touch with you shortly.”
If you see the default “Thanks for contacting us! We will get in touch with you shortly.” even if you’ve created a custom confirmation for your Gravity Form, your entry may have been marked as spam. All entries deemed spam are shown the default message. Login and try again–logged in users will not get caught…
-
TypeError: b.map is not a function
If you’re building blocks for WordPress, and the error TypeError: b.map is not a function is logged in your browser’s developer console, you may have created a SelectControl component and failed to wrap the options in brackets to create an array. This code will cause the error: This is the correct syntax: