25 Useful Code Snippets for WordPress

25 Useful Code Snippets for WordPress

Today I would like to share with you 25 useful code snippets for WordPress. These snippets will enhance or modify your WordPress website in some way. They are very easy to use. All you have to do is add or modify the relevant template with the code detailed in this article. The snippets will work on any regular WordPress installation. If you are using a WordPress framework, you may need......

Continue reading

Making Images Scale with Browser Window in WordPress

default

In this advanced WordPress tutorial I am going to explain a couple different methods I developed for making post images size themselves automatically when the user changes the browser window's size. I decided to share these methods mostly because this was no simple task to figure out for the first time and I was unable to find any help regarding this issue on the web. I created these two......

Continue reading

WordPress Navigation Menu for PCs and Mobile Devices

default

Building a custom navigation menu in WordPress has several challenges. I will cover some of them in this tutorial. The main focus will be on building custom navigation menus for the iPhone and other mobile devices. However, the menu will also work for regular PC users as well. If you don't need the part for mobile devices, you can simply skip those parts and still learn how to......

Continue reading

Using Jquery to Enhance WordPress

default

In this WordPress tutorial I will show you a few ways to enhance any WordPress website or blog using the JavaScript jQuery library. In the tutorial I assume readers know the basics of WordPress theme and/or plugin development. If you are not familiar with either theme or plugin development, you should learn the basics before attempting to execute the code examples in this tutorial. WordPress Built-In Libraries WordPress comes with many......

Continue reading

Adding a Second WordPress Installation

default

Have you ever wanted to add second WordPress blog to the same server or hosting account? Whether you want a second WordPress installation for a whole new site, testing code or for checking out a new web developer, the methods described in this tutorial will show you how to install a clone of your WordPress blog or website. It is always nice to have a clone of your WordPress......

Continue reading

Easily Cache Local or Remote Data

default

Maintaining a cache can allow a website to load quicker and more efficiently than pulling and generating data during each page load. For most data, WordPress has a group of functions dedicated to storing data that will stay relevant for a specific period of time. WordPress also allows plugins to change the location of transient data, say to a memcached location, in order to speed up the cache even......

Continue reading

Top WordPress Security Measures

default

This is a beginning level tutorial on WordPress security. I marked it as beginner level because the security concerns in this tutorial should be priorities from day one of your WordPress experience. It is easier to implement security measures on a fresh new blog than it is to add them later. Whatever the case, they need to be added for your site’s secured future. If you have yet to......

Continue reading