Blog

Skrill Asking For IBAN

Recently skrill (moneybookers.com) modified the withdrawl process for wire transfer to banks. When withdrawing money, they  ask for your  IBAN . Now

<h3>what is IBAN?</h3>

IBAN is international Bank Account Number, which can be generated from your local bank account number and swift code easily. IBAN its not a new information, it is generated by your bank account number and swift code after doing some calculations on it.

I faced a lot of trouble when i called Bank Alfalah, Lahore and asked them my IBAN. They told me Alafalah does not have an IBAN. I called them again and same reply. Then i decided to so something on my own. I used a tool to generate the IBAN and also followed the steps given by State Bank Of Pakistan to verify that my IBAN was correct. Luckily I was able to generate the correct number and received my money from skrill in my account 2 days back.

Use this tool to calculate IBAN.

Responsive Theme

Free Responsive theme created by Theme ID. The features of the theme are responsive web design, grid layout, wigitized area (9 widgets), custom menu support and much more.

Download  Demo

Display Category Names in Multiple Columns

Sometimes you have a lot of categories, you cannot simply list them down as one column. In such a case you would like to have it displayed in multiple columns. We will use wordpress built-in functions to list categories, so that any new ones are automatically added to the list.
You can display the category names in footer in 2 or columns in your theme. This can be done by using wp_list_categories() and playing with some mathematics. Normally you can find code that displays category names in two columns but this snippet will do it in as many columns as you want. Have a look at this tip and you will love it!!

source:http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/

Top HTML Form Generators

I was trying to design a form, i came across a lot of form generators. Using these generators is an easy way to generate html for form. The markup might not be standard compliant, but for newbies, it makes form designing an easy task. Below are some form generators

1- pForm

In pForm, you are provided with a form template in many colors. You can choose any color for template and then add fields in next screen.

Link

2- Wufo Form Gallery

Here you have a lot of templates for example, employment application, event calendar, wedding invitation, mailing lists etc.

Link

3- Zoho Creator

At zoho creator you have multiple templates like event planner, customer feedback etc. Its a drag and drop interface , very easy to use.

Link

4- Free HTML Form Generator

This is a downloadable file which can be put on webserver or locally, it generates the html for the form you require. You can put it up on your server too, since its free and open source. It can be a good attraction for people trying to generate some html.

Link   demo

5- 123 Contact Form

You can design online survey forms, […]

Adding Category Images To posts

Sometimes you would like to add a specific featured image to post if it belongs to a specific category. You would like the posts from one category to display an image when it does not have an image attachment with itself, so if an author leaves out or forgets a to put a featured image, you don’t have a blank image for that post and a category image is displayed automatically. This can be done very easily in wordpress. Here are the steps

1-First save images or icons for each category with their name. For example for news category save a picture news.png, for economy category save economy.png and so on. Save all of them in images folder of your active theme.

2-Then in your template files where ever you want to show featured images write this code.

and you are done!

Another way to add images to category posts is by using plugin. A plugins you can use for this purpose is
Category Thumnail

Disable or Disallow Comments in WordPress

You can disable comments in wordpress easily. The trick is to go to Settings -> Discussion -> then uncheck option “Allow people to post comments on new articles”

This setting applies to all new posts that will be published from now onwards. To disable comments from posts that have been published.

Posts -> select all then click “Edit” under bulk actions and click apply >> choose “do not allow” next to comments and hit update posts.

If you don’t want the comment form to show on any post or pages then locate all occurrences of the code below and remove it.

I you don’t want the text “Comments off” to be displayed then look for wp-icludes/comment-template.php and open it in a notepad. Change the line

to

NINTENDO LAUNCHES WII U!

So Nintendo freaks, Nintendo is really here with a bang. The Electronic Entertainment Expo which is here from 5 June till 7 June shows a lot from Nintendo! On Tuesday, the company launched its Wii U- a video game console. Moreover, this console has come in combination with the GamePad ready to change the gaming world in a go! No doubt Nintendo is aimed at changing the usual gaming style these days. According to Nintendo, Wii U is pretty much different from those which are already on the current Wii. And that ‘it changes the way you enjoy TV ’.

Nintendo has definitely showed that a little console can do wonders! It comes in white and black colour. The new controller allows the user to view multiple screens, one of them is on your TV and one of them is on your Wii U Gamepad. The company gave a demo of PikMin3 in which the Wii U Gamepad displayed a three-dimensional map. You can easily control the creatures in the game on the displayed map as these creatures move around on […]

HTML Doctype Declaration – HTML 5 Doctype

What is a DocType?
The doctype declaration should be the first item to appear in the source markup of any web page. It is an instruction to the web browser (or other user agent) and it identifies the version of the markup language in which the page is written. It refers to a known Document Type Definition, or DTD for short. The DTD sets out the rules for that of markup, enabling the browser to render the content accordingly.
Why a DocType?
Per HTML and XHTML standards, a DOCTYPE (short for “document type declaration”) informs the validator which version of (X)HTML you’re using, and must appear at the very top of every web page. DOCTYPEs are a key component of compliant web pages: your markup and CSS won’t validate without them.

DOCTYPES are also essential to the proper rendering and functioning of web documents in compliant browsers like Mozilla, IE5/Mac, and IE6/Win.

A recent DOCTYPE that includes a full URI (a complete web address) tells these browsers to render your page in standards–compliant mode, treating your (X)HTML, CSS, and DOM as you expect them to […]

5 ways to Protect Your WordPress Site From Spam

Some days after you launch your website, you will notice a lot of comments from spam bots. These are very annoying and often target a certain post of the blog. The comment title consists of links and the body has some spam links and text. Spammers not only spam in comments they also steal your website content and spread it all over the web that is another reason why its important to protect wordpress from spam.
There are two kinds of method used by spammers:

Automated spam-bots : – Spammers use such as program and tools (robots) that can automatically submit large numbers of spam comment to numbers of blog in no time.

Manual Spam : -Well in this case spammers visit your site and manually post their spam comments in the comments field.

Spam Comments are a fact of life for bloggers, and no one can stop Spam Comments 100%, You can only minimize that to a lower level by using some tricks below to fight the spam on your wordpress website.
1-Install Akistmet
First thing you should is , install Akismet. Akismet is great plugin […]

Ways To Get First Image From Post

Sometimes you don’t have a featured image with your post. In such a case you would like to have the first image of the post as thumbnail . Here is a snippet to get the first image from post content. sometimes this trick might not work, this occurs when the DOM element has a different structure. So if this doesn’t work for some reason, try adding one more regex which suits your case to make it work. You can also parse the DOM to get the image source. I will cover that topic in the next post. For now, here is how you do it through regex.

In html you will call the function as

Another way of doing that is by the code provided at codex

To use this code, you just need to call the function like this

This is another very smart method of extracting the first image. I found this one the best since it directly extracts the source attribute and does not look for specific patterns in html. Use the code below in your functions.php

Now use it anywhere in […]