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...]
Category: WordPress (page 10)
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...]
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...]