How To Remove Links From Wordpress Admin Bar

In Wordpress 3.3 they have upgraded the admin bar with new icons and new options. But what if you don't want some users to have access to some of the things on the admin bar, you need to try to remov...

How To Display Future Posts In Wordpress

It is recommended that you don't over load your readers by posting all the time, so if you write more than one post a day you should try to use the Wordpress schedule functionality. This way you can w...

Style Links Depending On What They Are Linking To In CSS3

Since CSS3 you can actually define CSS styles by using the elements attributes, so I can look for input text box by setting the CSS. input[type=text] On links you use the attribute href to define wh...

How To Separate Comments And Trackbacks With Wordpress

By default Wordpress themes will display trackbacks and comments together at the bottom of the post, but you don't really want to display these together it's much better if you can separate these. If...

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

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

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

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