Blog
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 […]
Read MoreHow did I not know this already? ctrl+shift+v This keyboard shortcut pastes whatever text is in the clipboard, but removes the formatting.
Read MoreWhen creating a dropdown menu in WordPress, often the parent menu item is used simply as a hover point to access the submenu, not as an actual link. When this is the case, we can use the following steps to indicate to the user that these menu items are not to be clicked. 1. Set […]
Read MoreSometimes we need to make an entire column clickable, instead of just the link (or links) within the column. This is a common issue when using a card style design. For example, in the image above, we might want each of the three sections themselves to be clickable, instead of just the text and image. […]
Read MoreTables are notoriously difficult to handle responsively. If there is a significant difference between the number of rows and the number of columns, the ideal layout for large screen sizes uses more columns then rows, but the ideal layout for small screens uses more rows than columns. However, there is no simple way to handle […]
Read MoreFor some reason, FacetWP doesn’t support infinite scroll when paired with the Posts module in Beaver Builder. However, working with some code from GitHub, I was able to modify it to work with Beaver Builder. Here is the code: (function( $ ) { ‘use-strict’; var throttleTimer = null; var throttleDelay = 100; $(function() { var […]
Read MoreThe canonical URL can be modified programmatically in WordPress using the get_canonical_url filter hook. Recently I was working on a site that needed custom canonical URLs on specific search result pages. I went looking for the documentation on filtering the canonical URLs, but while the existence of the filter is documented, I could not find […]
Read MoreSometimes you just want to style all the links pointing to a certain site, or containing a certain string in the URL. For example, styling all links to Wikipedia to stand out from regular links or hiding all links that include “registration” in the URL. It’s just a matter of using: href*= in the CSS […]
Read More