Get List Of All Available Shortcodes

Wordpress shortcodes allow you to run a small function of code must by placing the name of the function inside a tag, such as [shortcode]. The best thing about Wordpress shortcodes is that you can use...

Handle Image Loading Errors With jQuery

If an image can't load correctly in the browser it will do a number of things depending on what browser you are using. It will either display a ? question mark image or will just display nothing. Whe...

Use Different CSS When Javascript Is Enabled

Here is a snippet that allows you to have different CSS for when Javascript is turned on or off. You may need different CSS so you can deal with visitors who have Javascript turned off, you may want t...

How To Build A CSS Only Content Accordion Featured On Hongkiat

I am happy to announce that I have a CSS3 Accordion tutorial featured on Hongkiat. Hongkiat - How To Build A CSS Only Content Accordion The post is a tutorial which will teach you how to create a con...

Remove Lost Password Link On Wordpress Login Page

In a previous post you would of learnt some of the best ways you can secure your wordpress blog. On your Wordpress login page by default has a link that requests you to reset your password. Obviously...

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...