Author: corey

  • Revert Elementor Taking Over a Page

    Accidentally clicking the Edit with Elementor button can ruin a perfectly good page. Sabotage or delete post meta fields for the post or page with these keys: wp-cli commands Change the zero to an appropriate post or page ID. wp post meta delete 0 _elementor_edit_modewp post meta delete 0 _elementor_template_typewp post meta delete 0 _elementor_versionwp…

  • TP-Link Deco Mesh Wifi Setup on Xfinity

    While trying to setup TP-Link Deco mesh wifi devices, I found that it was easy to plug one of the devices into my existing wifi router. The Deco creates its own wifi network, however, instead of boosting the signal where it was plugged in. Problem: Light Turned Red I tried to replace my router with…

  • 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…

  • Microsoft Azure SqlServer

    Check the status of CREATE DATABASE and ALTER DATABASE queries List all users and roles

  • 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:

  • Router Circle Jig Calculator

    Router Circle Jig Calculator

    I recently gifted myself a Bosch 1617EVSPK router, and the first project is mounting it to a old Craftsman 171.253512 router table that came with the used contractor table saw I bought myself for my 37th birthday. An adapter plate is needed. None of the threaded mounting holes on the fixed router base line up…