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
WordPress Web Development
Articles related to WordPress and general website development. Topics include Php, HTML, CSS, WordPress plugins, etc.
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
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
NOTE: Code now supports 508 compliance as well as Schema.org web page type of Search results page. If you're not happy with the search functionality provided out of the box with WordPress you might want to consider Google CSE for those of you running the Genesis Framework. Here's a quick and easy WordPress tutorial demonstrating how you can use Google CSE with the Genesis Framework. Create a New Search Engine Head on over to Google CSE and follow their instructions on creating a new search … [Read more...] about How to Use Google CSE with the Genesis Framework
Recently I began working on a blog redesign and my client wasn't happy with the phrase "Search this website..." inside of the Genesis search box. Additionally, the client wanted to change the text on the search button from "Search" to "Go." It was time to dig in and research what is needed to customize the Genesis search form. This simple WordPress tutorial for the Genesis Framework will demonstrate how to accomplished both goals using two WordPress code snippets that you can place into your … [Read more...] about How to Customize the Genesis Search Form