As the content of a WordPress site grows (using this site as my case study) search results will also grow. Typically on a WordPress site the search results will either show the post content, the excerpt, or a limited version of the content. WordPress does not highlight the words in the content which match the search terms, nor does it automatically display the relevant sections of a post's content when using the excerpt or a limited version of content. This can lead to potentially unintuitive … [Read more...]
Blog (page 14)
Advanced Sidebar Menu – Version 3.7.0
Version 3.7.0 of Advanced Sidebar Menu PRO is now available to all PRO users and may be updated through the WordPress Admin or downloaded through the Downloads area. This version adds a couple of useful features which will automatically work without changing any settings: There are a few other "under the hood" improvements and some new unit tests which provide improved stability. … [Read more...]
Node As A CLI
This is an exhaustive article on creating command line run scripts/executables with node and how it all works. It is broken into sections for convenience if you are looking for a specific topic. Otherwise, grab a coffee and prepare to learn more than you ever wanted to know about node cli. For the purpose of this article the words package and project are interchangeable and both mean a node app which is defined by the package.json standard. For the purposes of this article all project … [Read more...]
Responsive Image Srcset Sizes
So you are using WordPress right? Or maybe another modern CMS which supports responsive image srcsets? Alright, so you are a true pioneer rocking your own framework? Regardless of how your images get those helpful "srcset" attributes, this article will apply to you. Real quick refresher... the srcset attribute allows your browser to select the appropriate image src based on the current screen size and pixel density. This way you can load retina images or smaller versions depending on how you … [Read more...]
Going Codemirror
A few years ago (2015) to be exact, I needed a way to to be able to highlight some code on my website. At the time I was writing example filters for my free plugins with the developer docs pages. I went to the community to see what I could find and came up with a plugin called WP-Syntax. This plugin had a few shortcomings so I ended up creating and maintaining a fork or it (which admittedly I often do with any 3rd party code I use) WP-Syntax allowed for adding special <pre … [Read more...]
Case Study: Going PWA
Over the past couple weeks I have had the privilege of deep delving into Progressive Web Apps. In case PWA is new to you, I will give you a quick rundown. PWA is a relatively new format for building websites that can be installed on mobile devices or even desktops as applications. You're website still functions as a website, but gives users the option to install it run it like a normal app instead of in a browser. If I don't say so myself, "It's really cool". Here are just a few of my … [Read more...]