WordPress solutions for agencies and small businesses
Hi, my name is Alex Mansfield. I partner with agencies and small businesses to design, develop, and maintain high quality WordPress websites.
Latest Posts
The Trouble with Accessibility Overlays
I think I first became familiar with accessibe.com when their clients started getting sued for accessibility issues (https://twitter.com/karlgroves/status/1349800053985206274). Among people working in the accessibility field, overlays like Accessibe have such a bad reputation that 700 specialists have signed the Overlay Fact Sheet (https://overlayfactsheet.com/) explaining the pitfalls of accessibility overlays. In my own testing, I’ve noticed […]
Enabling SmartSlider3 Support for the Editor Role
By default, the SmartSlider3 plugin only allows administrators to create/edit/delete sliders. In many cases, administrators may want to grant editors the ability to manage sliders. To do that, the following code can be placed in the active theme’s functions.php file (or in a plugin). /** * Give editors access to SmartSlider3 * * @see: https://developer.wordpress.org/plugins/users/roles-and-capabilities/ […]
WPEngine and the Advanced Cache File
Today I ran across a strange situation where the dev tools for Chrome and Firefox were reporting different background color values for the same button. They were both reporting that the relevant CSS was in the same location, so it wasn’t a matter of a difference in cascade/priority. I changed the color value in the […]
CSS Hover: Targeting Mouse Input and Ignoring Touch Input
CSS hover states are pretty obviously targeted at mouse inputs, but are applied in strange ways to touch inputs as well. Thankfully, all modern browsers now support input-based media queries. This allows us to apply our hover states only to devices that truly support hover states. Here is the code that makes it work: @media(hover: […]
Add SVG Upload Support to Beaver Builder
By default, WordPress blocks SVG uploads. Beaver Builder also blocks SVG uploads withing the builder, but strangely it uses it’s own block list which it only applies to uploads. This means that you can enable SVG uploads within WordPress, upload an SVG file to the media library, and then make use of the file in […]
Paste Text without Formatting
How did I not know this already? ctrl+shift+v This keyboard shortcut pastes whatever text is in the clipboard, but removes the formatting.