How to create Bangladesh flag in photoshop

After gathering some information from web I have managed to create Bangladesh flag in Photoshop. Specifics you need to keep in mind:

1. Flag ratio is 10cm x 6cm or 25cm x 15cm (and so on)
2. Green color: CMYK 100-0-70-40, Pantone 342c
3. Red color: CMYK 0-100-80-5, no Pantone
4. Radius for the inner circle is 20% of the width (e.g. 2cm for 10cm wide flag or 5cm for 25cm)
5. Center of the circle is at 45% (from left) of the flag (e.g. 4.5cm for 10cm flag or 11.25cm for 25cm)


With some further design effects, here is the end result.



Facebook Privacy :: How to change privacy on your old photos with a button click?

You may have some photo albums on your Facebook account where many photos you uploaded can be viewed by public. Someone who’s not your friend or following you can view those photos, and can even share them. Albums like Mobile Uploads, iOS Photos or Profile Pictures only allow you to set privacy on individual photos, not the entire album. Changing privacy on the individual photos can be a tedious task when you’ve hundreds and hundreds of photos in those albums.

So, how do you set correct privacy setting on all your photos with one button click? Well, magically, there is a way!! Here’s how.

  1. Click on the Gear icon
  2. Click on Privacy Settings

  3. Under “Who can see my stuff?” click on the section titled “Limit The Audience for Old Posts on Your Timeline”
  4. Read through (very important, so you know what is going to happen)
  5. Click on the button “Limit Old Posts”

How to make sure it has done what you wanted it to do?

So, in order to make sure the steps above has done its job click on “Timeline and Tagging” on left hand menu. Then under “Who can see things on my timeline?” section click on the first item “Review what other people see on your timeline” where you can see what shows up on your timeline for public.


Please note that this process will also set privacy setting of the other contents you’ve posted on your timeline before. So, any shared links, status etc. which were visible to the public will now be hidden and only Friends can view them.


WordPress: Quick Steps to Setup a Child Theme

WordPress has this neat feature called “Child theme” for a while now. I’m a big fan of this feature. It is important to use this when you are using a theme that you like but want some changes to it. If you work on the theme files directly, chances are you will overwrite the changes when new updates are pushed. I’ve done it before and since the child theme came out I’ve not had any issue with it anymore.

So, here I would show how to setup a child theme quick and easy. Say you are using “twentytwelve” theme as your primary theme. Now you (like me) want to make a change to the header file to add your own code – for example, some Google code to show translation bar. Here are the steps:

1. under your-wp-root/wp-content/themes/ create the directory you want to place the child theme files in

2. now go into your-wp-root/wp-content/themes/your-child-theme/ and create a file named style.css

3. in style.css you will need to put the following piece of comment:

* Description: Modified 2012 Theme
* Author: Your Name
* Template: twentytwelve
* */

Line 5 is very important here. It tells WP which parent theme directory to use.

4. After the comment you will need to import the parent theme’s stylesheet in. You can either copy paste the entire style.css from twentytwelve directory, or put the following import code:

@import url(../twentytwelve/style.css);

5. Now you can copy header.php from your-wp-root/wp-content/themes/twentytwelve to your-wp-root/wp-content/themes/your-child-theme/. Make necessary changes to the file and you are good to go.

6. Last step (which you could have done before changing header.php file) is to activate the child theme. In WP admin, under Appearance > Themes look for the theme you’ve just created. Click on “Activate” to use it.

Only the modified files (like header.php) will be used from your child theme’s directory. You can always do these on your local machine, upload the directory via FTP and activate the theme; the steps above are just the way I do it – i.e. login via SSH and do these from command line.

For further reading you can click here.


My two WordPress plugins

I’ve been using WordPress since 2005 when I decided to move away from my custom made blog. I’ve – since then – modified and created bunch of themes and plugins. Customized many plugins/themes to work the way I want it to work.

I’ve also published two WordPress plugins. I wrote both of them for my own purpose, but later decided to publish them on (visit my profile page on WP to download the plugins).

1. Recently Updated Pages

This plugin will let users add a sidebar widget where you can list WP pages you’ve recently modified. The sole purpose of this plugin was to list ONLY the pages, but after some requests from the users I’ve also added feature to list posts. I’ve couple of more features in works right now, one is to exclude pages/posts from listing under this widget. So far I’ve added an option in the post/page editor where user can opt-in/out of listing it under RUP widget. These features will be published soon.

2. Feedback Extended

I’ve recently published this plugin. Downloads for this plugin isn’t as aggressive as the RUP plugin but today it reached 100 downloads (woohoo!!).

This plugin only works with the Contact Form enabled under Jetpack 1.3 or higher. FE will add an extra option to reply from within the administrative area of WP to any contact received via the Jetpack Contact Form. These contact messages are stored under Feedback section in WP and FE will allow you to reply to the emails sent to you via WP site right from the admin area as long as WP installation can send emails using the server’s send mail service. There is no further feature I’ve in mind for this plugin.

Do you’ve any idea for a new plugin? Do you want someone to help you build a plugin? Please drop a line here and let’s have a chat about it.