Blog

How to hide WordPress content from search results

May 20, 2025

While it is easy to drop in some code to hide content from search results, it can have some unintended consequences because WordPress uses the same search query loop for both frontend and backend searches. Hide content universally To hide content on both the front and backend, we can use the following code: function prefix_exclude_from_search( […]

Read More

Website Blueprint Settings

May 15, 2025

While it is incredibly useful to use a blueprint site as a starting point for all new website development projects, it also makes it easy to forget what our default site settings are. This article is part checklist, part reminder what default settings I use for reference when create a new blueprint site. Body width […]

Read More

External Slide Navigation in Bricks Builder

March 21, 2025

Bricks Builder has a flexible slider module called “Slides (Nestable)” which allows each slide to be built from scratch within the builder. In some cases, it may be necessary to create external tab-like navigation. In order for the following code to work properly, we need 3 things: The second half of the slider ID. By […]

Read More

Parallels Desktop (Solved): The password you use to log into your account no longer matches your login keyring

January 25, 2025

When using a Linux guest OS on Parallels, I was occasionally getting the following error, along with a password input: The password you use to log into your account no longer matches your login keyring However, when entering the login password into the prompt, it fails. After going down this rabbit hole for a day […]

Read More

Dealing with form spam

January 22, 2025

Let’s start by looking at the timeline of a form submission, and then we can look at what can be done to combat spam at each section of the timeline. A user (or a bot) visits a page on our site. The user (or bot) fills out and submits the form. Our system processes the […]

Read More

Remove formatting when pasting text by default

March 16, 2024

When pasting text into the WordPress classic editor, the default behavior is to keep the formatting of the pasted content. The keeps things like links working, but it also keeps font colors, sizes, and other formatting that may be undesirable. To change the default behavior so that by default all formatting is removed, we can […]

Read More

Adding a menu item to the Beaver Builder admin menu

January 28, 2024

Beaver Builder has a top level menu item in the WordPress admin menu. However, it doesn’t allow new menu items to be added using the standard WordPress methods. After reading a bunch of the Beaver Builder code base, I was able to find the filter that handles the submenu items in the /extensions/fl-builder-user-templates/classes/class-fl-builder-user-templates-admin-menu.php file. The […]

Read More

Improving Beaver Builder’s Video Lightbox

December 8, 2023

For some reason, Beaver Builder’s video lightbox opens quite small, even on large screens. I wanted the lightbox to take up most of the screen, so I used the following CSS to make that happen: .mfp-iframe-holder .mfp-content { max-width: 95%; aspect-ratio: 16/9; height: auto; } @media (min-aspect-ratio: 16/9) { .mfp-iframe-holder .mfp-content { height: 95%; aspect-ratio: […]

Read More