Web design tips

With technology changing all the time, you’ll have to learn constantly to keep up to date with the latest trend.

featured article How to SEO Optimize Your WordPress Site
Published on October 18th, 2012

When creating a new website, you should always have Search Engine Optimization in art. Literally, SEO is the art of optimizing your website’s pages and post content for the search engines. SEO is effectively telling the search engines what your content is about, and who should be reading your content. For example, if you write a post on “How to fix a car”, then you will need to be specific and optimize your page for more specific keywords, such as “How to fix your car’s engine socket”. While this is a brief example, SEO also applies to the way that you link between your website’s content, and how often you link. If you don’t consider yourself knowledgeable in the area of SEO, then don’t worry – because a WordPress plugin exists that will help you out big time.  

featured article How to use custom fonts in your website?
Published on August 29th, 2012

It’s very common to use custom fonts in a web design. However, unfortunately, you would not expect all the website visitors have installed the custom fonts that you choose on their computers or mobile devices. If the browser could find the fonts the texts would be rendered using the default fonts. Thus, the custom fonts should be hosted at an accessible place to allow the visitors’ web browsers properly rendering the texts when loading the web pages. So people could see your complete design. How to do? It’s very easy! Using font-face is a quick solution. Font-face is a CSS rule. (You may search for more information through the keyword ‘font-face’.)

Display feedburner subscriber count In WordPress blog
Published on February 17th, 2012

If you want to display the number of subscribers you have but don’t want to use Feedburner’s button, here is how to display it as text in your WordPress theme. Replace FatherApprentice (in bold) with your feed name.

How to import and display your latest tweets
Published on July 29th, 2011

If you are an active Twitter user, chances are that you want to share your latest tweets on your website or blog. To do that it’s quite easy, just use the following PHP snippet. <?php // import & display latest tweet $username = “perishable”; $feed = “http://search.twitter.com/search.atom?q=from:”.$username.”&rpp=2″; // $prefix = ‘<h3>Perishable Press</h3>’; // $suffix = ‘<p><a href=”http://twitter.com/’.$username.’”>Follow me on Twitter</a>’; function parse_feed( $feed ) { $stepOne = explode( ‘<content type=”html”>’, $feed ); $stepTwo = explode( ‘</content>’, $stepOne[1] ); $tweet = $stepTwo[0]; $tweet = str_replace( “&lt;”, “<”, $tweet ); $tweet = str_replace( “&gt;”, “>”, $tweet ); return $tweet; } $latest_tweet = file_get_contents( $feed ); // echo stripslashes( $prefix ) . parse_feed( $latest_tweet ) . stripslashes( $suffix ); echo parse_feed( $latest_tweet ); ?>

Get the first image from the post and display it in WordPress
Published on July 29th, 2011

By default, WordPress will not take your images with the excerpt on the homepage. This is the reason why many people use the thumbnail function or custom fields to display an image for the article on the front page. However, there is a simple way to display the first image of your article on the front page with a function.

Reset a WordPress Password from phpMyAdmin
Published on July 29th, 2011

If you can not get your WordPress password back through the “Lost your password” link or you’ve been hacked, there is a way to get it back through phpMyAdmin. 1. Go to phpMyAdmin, find your WordPress database 2. Find the users table, it should normally be named wp_users unless you changed it.

Find the RSS feed for all comments in WordPress
Published on July 29th, 2011

If you are looking for a feed aggregating all the comments on your blog, just look at one of these two addresses: With permalinks on, your full comments feed will be at an URL with the following structure: http://example.com/comments/feed/

Stuck into a WordPress update? Here is how to get out
Published on July 29th, 2011

Ever used the WordPress automatic upgrade tool and got stuck in maintenance with a message saying “Briefly unavailable for scheduled maintenance. Check back in a minute.“? If it happened to you, don’t worry, it’s not too bad. When upgrading, WordPress creates a .maintenance file at the root of your WordPress install. If the message sticks, just manually delete that file through FTP and you should be good.

How to tell when images have loaded with jQuery
Published on June 23rd, 2011

When you build galleries, carousels or just work with images, it can be useful to know when images have loaded. For that, just use the following code: $(‘#myImage’).attr(‘src’, ‘image.jpg’).load(function() {    alert(‘Image Loaded’);});

Combine all your scripts and minify them
Published on May 22nd, 2011

You can save a lot of bandwidth and eliminate http calls by combining your scripts and minifying them, for that, you can use this awesome tool created by Dean Edwards.