Here’s a little snippet which I sometimes use in my footer during development. It basically checks how many db queries are made when the page loads and how long those queries took to retrieve and display. Very handy if you are performance-oriented and need to check performance of 3rd-party plugins. Once added, refresh the page … Continued
I always recommend removing the WordPress generator from the source of your head. WordPress by default will include the current version of WordPress in the header. While this can be useful for knowing what WP version you are running compared to the current version available from WordPress.org, it can also give hackers and bots an … Continued
Depending on the type of website you run, sometimes the default widgets are useless to your purpose so rather than have them load everytime you access the widgets page, you can simply add this to your functions.php file. Obviously you can remove any from this list to keep them.
Sometimes you need to change the default excerpt length in post or page summaries. WordPress defaults this to 55 and if your theme doesn’t allow you set this as a theme setting, add this to your functions.php file and set the value to your desired amount. In the example below, I’ve set this to 100 … Continued
So it’s important to ensure that both your clients and customers can contact you efficiently and email is one of the most common ways that they can do this. What gets frustrating is posting your email address on a webpage or a contact page, only to find that soon after, you are bombarded with spam … Continued