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...]
Blog (page 14)
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...]
WordPress Redirect Loop When Logging In [Solved]
If you are using a WordPress as a submodule, PHP-FPM, and are hosting your site on WHM, you probably woke up today with and endless redirect loop when trying to login or access any .php core file directly. ERR_TOO_MANY_REDIRECTS This error which is affecting a massive amount of servers is coming from the "EasyApache4 October 31 update". Within this update a new redirect was added to PHP-FPM which catches .php files and attempts to redirect them to .txt files. This was part of an … [Read more...]