Stop Search Engines From Indexing Search Results

On your search pages of your Wordpress you want to make sure that these are not indexed by the search engines. Having these indexed might create duplicate entries in the search engines compared to yo...

Display Gravatar From Email Address

In a previous article you learnt how you can display the the author avatar in Wordpress. But if you aren't using Wordpress then you will need to use a Gravatar. ## Gravatar A Gravatar is your image t...

Learn How To Display URL After Link With CSS

I've recently been asked if there is an easy way to display the URL of a link after the link. For example in a list of items you would want to display the title and then display the URL after the tit...

Remove Links From Wordpress Admin Menu

Since Wordpress 3.1 they have made it very easy to remove any unwanted links from the admin menu bar. Most people don't want the Links menu item to be displayed so by adding the following code to you...

How To Create A URL Slug With PHP

Having a user friendly URL is user important not just for SEO but also to help the visitors know that the website they are on is correct. If you have spaces in your URL they will be replaced by %20 s...

How To Display Author Avatar In Post

In Wordpress you can assign avatars to your authors, but if you have avatars then you need to be able to use them. In this snippet you will see how you can display the author avatar in the post displ...

How To Display Related Posts by Author In Wordpress

In a previous article you would of learnt How To Get Related Posts For WordPress Post. With a blog that has multiple authors you may want to display posts which are related to the current post but wr...

Automatically Add Google+ Button After Post

Google+ is the latest social media trend to hit the internet, it is growing in users all the time and it is fast becoming a very engaging community. You will find that because you can share content w...

Create Wordpress Database Error Page

In today's tutorial we are going to learn how you can display a page on your Wordpress install if your website has a database error. Wordpress Files In Wordpress it has a couple of default file names...

How To Disable Enter Key On Forms

On HTML forms if you are filling out a text box and press the enter key it will submit the form, even if you haven't finished filling in the rest of the information. There are many websites which use...

Replace jQuery With CDN In Wordpress

Here is a snippet which allows you to load jQuery from the Google CDN in Wordpress. jQuery is a very popular Javascript framework which can do some very powerful things and makes it very to add Javas...

Use PHP To Detect An Ajax Request

Here is a quick PHP snippet that you can use to tell if the request coming to the page is from a form or from an Ajax request. Where a page is being accessed by AJAX it will post data using XML, PHP c...

Redirect Wordpress Commenters To A Thank You Page

If you have your own blog you will know important it is to have people comment on it. There are many things you can do to encourage people to comment on your blog. You can have do follow links in your...

CSS Image Reflection With Webkit

Image reflection is a great new feature from CSS which allows you to spice up your web image by adding a reflection underneath. Before CSS this had to be done by adding the reflection in the images, b...

Learn How To Create Drop Cap Letters In CSS

In the tutorial today we are going to learn how we can use just CSS to create an old newspaper technique of making the first letter of a paragraph capital and drop into the paragraph. View the demo t...