Recently I was tasked with taking down a website while fixing a few bugs. The trick was figuring out how to show the maintenance page to everyone except myself and the QA team. The solution I came up with was to use the .htaccess file. Using that one file I was able to make the maintenance page display for all external website visitors while letting myself and the QA team on the website. Let me explain lines 3,4,5 and 6. Line 3 - Don't apply line 6 to the ip address 123.456.789.12Line … [Read more...] about Maintenance Page in Php
Please note: After extensive testing on numerous websites, the code has been updated to account for hyperlinks that contain tel: and mailto:. On a fairly large website in which I act as the technical owner/ administrator, it was recently mandated that all outbound hyperlinks (both new and existing) open in a new tab. Since we're not using WordPress and are unable to acquire IT resources to assist with an automated solution, I asked the team "how long will it take" to go through 700+ pages of … [Read more...] about Open External Links in New Tab Using GTM
For the majority of websites, a simple contact form that asks for name, email address and message is all that's needed. Say hello to another plugin from my collection of EZ Plugins for WordPress. I call it EZ Cform. EZ Cform is probably the most lightweight contact form building plugin available for WordPress. Version 1.0.0 comes in at less than 300 lines of code. That includes comments! Why Another Plugin to Build a Contact Form? Simply put, I was tired of the bloat in today's most popular … [Read more...] about EZ Contact Form Plugin for WordPress
Have you seen the meme shot 'round the world (Heinz ketchup bottle) trying to simplify the answer to the question… what’s the difference between UI and UX? I'm going to explain why it's an incomplete example and how to make it better using simple terms and plain English. You'll never forget how to define the difference between UI and UX after reading this article. I promise! What is a User Interface (UI)? Using Heinz ketchup (the product) as the example, we can see that the user interface is … [Read more...] about UI vs UX – What’s the Difference?
EZ Scroll is an extremely lightweight Scroll to Top WordPress plugin. If you need a dead simple, no-frills smooth scroll to top WordPress plugin for your next web development project, grab the latest version from GitHub. Plugin Features Displays a semi-transparent button when user scrolls down the page Scrolls the page back to top with smooth animation Auto-hide upon returning to top of page Installation Instructions Go to GitHub and download plugin Go to your WordPress website … [Read more...] about EZ Scroll to Top WordPress Plugin
With 5+ million downloads from the official WordPress Plugins directory, it's obvious that Contact Form 7 is a very popular contact form building plugin. But did you know it loads CSS and JS code on every single page of your website? Even pages where a contact form doesn't even exist! In an era where speed has become an SEO ranking factor it's important to keep your pages lean and page loads time fast. In this tutorial I'm going to show users of Contact Form 7 how to speed up their WordPress … [Read more...] about De-register Contact Form 7 Scripts and Styles