Wordpress Robots.txt Optimization

The purpose of the robots.txt file is to direct search engines to where they can index and where they are not allowed to index. It is recommended by all search engines to use this robots.txt file so t...

Create QR Codes For Your Wordpress Posts

QR can be used by mobile devices to scan and get bits of data, they can even be used to display a web page. They are starting to become more and more popular the more mobile devices are being used. Bu...

Wordpress Widget Boilerplate

Here is a Wordpress snippet to create your own Wordpress Widgets. A Widget is a piece of PHP Code which will run when it is placed inside a Sidebar. A good example of a widget is data displayed in th...

Block Wordpress Admin By IP

Wordpress security is a massive problem, because of Wordpress being such a popular blogging platform it is used by millions of sites around the world. If someone is able to get access to your Admin ar...

Use jQuery To Highlight Active Menu Item

If you are using menus on your web designs it's a common web design technique to highlight the current page that you are on to show you where you are on the site. This technique is normally done by ad...

Add An Edit Link On Wordpress Posts

On my Wordpress themes I always link to have an edit link at the top of the posts by the title so that if I spot a mistake with the post I can easily edit it quickly. Here is a Wordpress snippet to us...

Send Email To Wordpress Author On Post Publish

Here is a great Wordpress snippet for multi author blogs. This will automatically send an email to the author of the post once it has been published. It uses the Wordpress action of publish_post which...

Disable All Wordpress Plugins

There are some times in Wordpress development when you need to disable all Wordpress plugins to proceed with your development. An example of this is setting up a multisite blog network on one Wordpres...

Wordpress Blog Info Function

If you are a Wordpress theme/plugin developer then there will be times when you need to get information about the current blog such as blog title or blog url. Using this function you will be able to g...

10 Wordpress Snippets To Get Your Blog Stats

If you have a blog then most likely you would like to know the stats for your blog, such as number of posts, pages, comments, categories, tags etc. All this data is recorded on the Wordpress database...

Highlight Posts In A Certain Category In Wordpress

Every website has a main subject, something the website is focused on. For example this site is focused on web development tutorials. As there is a focus point is always better to try to highlight th...

Check If On Front Page In Wordpress

In Wordpress you can define a different page to be used as the front page for your blog. It doesn't have to be the index.php page it can be any page template used on your Wordpress blog. You can use a...

How To Register A Sidebar In Wordpress

In this tutorial we will learn how you can register a new Sidebar for your Wordpress blog. The best part about Wordpress sidebars is that you can use them to add Widgets to your page. To register a s...

How To Turn On Debug Messages For Wordpress

By default Wordpress will turn off all debugging messages so the visitor to the site can't see any error messages showing anything wrong with the code. If you do any Wordpress development such as new...

What Makes A Premium Wordpress Theme Premium?

Recently I've been doing a lot of work with Wordpress, developing plugins and developing themes. I've looked into some of the top Wordpress premium themes to see how they work and what makes them dif...