Remove You may use these HTML tags and attributes from WordPress comment Form

By default, after your  comment form, you will see:

You may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <b> <blockquote cite=””> <cite> <code> <del datetime=””> <em> <i> <q cite=””> <strike> <strong>

If you want to remove it form Comment Form you can remove it by very easy CSS trics:

Add this in your CSS stylesheet:




Then it will removed from your Comment form. Very easy, is not it?


Operating System for Robot

I was thinking to develop a Robot myself as i like Robot so much. I believe one day Science Fiction about Robot and Robotics will come true.
You know we need to operate our robot by a System name Operating System. Many days ago, i was thinking to develop a Operating System for Robot to invest my time as  there is so many Operating System for Computer and Mobile.

When i am thinking something new, every time i come Google and search about it. Then i discover myself a Backdated inventor. Cause there is so many solution about my idea already in this planet. And the Idea was invented many years ago. Then i am thinking, Why i did not born before??
Oh! i lost my track, i was talking about Operating System for Robot. When i was thinking Developing Operating System for Robot will a good idea and i search about it, i also found some solution :( yeah! i am also backdated here.

If i am going to develop a Operating System for my robot that will not kill too much time of mine? Is “Reinventing the wheel” is a better idea? I don’t think so as others. Today i am going to introduce a Operating System for Robot. Name Robot Operating System (ROS).
ROS (Robot Operating System) provides libraries and tools to help software developers create robot applications. It provides hardware abstraction, device drivers, libraries, visualizers, , package management, low-level device control, implementation of commonly-used functionality, message-passing between processes, and package management and many more.

ROS was originally developed in 2007 under the name switchyard by the Stanford Artificial Intelligence Laboratory in support of the Stanford AI Robot  project.

From 2008, development continues primarily at Willow Garage, a robotics research institute/incubator, with more than twenty institutions collaborating in a federated development model.

ROS is completely open source (BSD) and free for others to use, change and commercialize upon. Our primary goal is to enable software developers to build more capable robot applications quickly and easily on a common platform.

Want to Develop a Robot? These Link my help you:

Good luck for your Robot :) Happy Robotics!

Finding root directory in php

Sometime we need to get root directory for access some content form root directory or other directory that can be access form root directory.

You can print root directory by:





Practically you may do not want to print the directory address, you use to locate some file form your directory, at that case you can use like:



is not it easy??

Break long post into two or more pages

Sometimes you have written a long post and it become very lengthy and uncomfortable for your reader to read. At that case you need to Break long post into two or more pages. What you can do is to split it into several short posts. To do it, simply add a


to the part of the post that you want to split.

To show the pagination at the bottom of the post, insert the line

<?php wp_link_pages();?>

to your theme single.php after the line  <?php the_content(‘read more …’); ? >

Add Top Level Theme or Plugins Option Page in WordPress

If you want to appear you theme or plugins option page on top of the menu like Dashboard, Tools, or Settings. You need to add a function that will create a new top level menu section in the admin menu sidebar and registers a hook to callback your function for outputting the page content when the linked menu page is requested. Here is the example:

add_action('admin_menu', 'register_custom_menu_page');

function register_custom_menu_page() {
 add_menu_page('custom menu title', 'custom menu', 'add_users', 'call back url', '', 'level icon url', 6);

If you want to learn more, visit WordPress function reference page.

Inserting WordPress shortcode Template File

Sortcode is not working in wordpress template file, but you use sort code also in template file by a short trick :)
you need call do_shortcode PHP function for it.


 <?php echo do_shortcode('[yoursortcode]'); ?> 

Insert your sort code like above, then sortcode will work properly in you template file.

is not it easy??



WordPress- Get Dynamic Image or File Path Relevant To Theme

While develop a theme, we need to add some image or script file in our theme file. If we use static directory like:

<img src="blogname/wp-contents/themes/mytheme/images/myimage.jpg" title="" alt="" />

then we are not able to change our blog address. if we use that theme on another wordpress site, it will not work. So we need dynamic image/file path. Like

<img src="<?php bloginfo('template_directory'); ?>/images/myimage.jpg" title="" alt="" />

This is simple, we need call template directory PHP function. Then it will dynamically add our file path. Then if we change our domain name, hosting etc, it will not effect on our theme.

The PHP function is:

<?php bloginfo('template_directory'); ?>

is not it easy?

quantumgateway and cart66

Integrate Cart66 and QuantumGateway Emulator

To Integrate Cart66 and QuantumGateway Emulator Just follow the step:

  • Form your WP-Dashboard, Select Cart66 settings.
  • Scroll Down and click on Payment Gateway Settings. You should see something like bellow:

  • In API Login ID: Put Your QuantumGateway User ID / User Name.
  • In Transaction Key Put RestrictKey from QuantumGateway Processing Settings.

In order to get RestrictKey, Go to QuantumGateway  admin panel. Click on Processing Settings. Check the box that says “Use a RestrictKey” Click on Generate. Copy the key. Click on Update. Put this Key on Transaction key at cart66.

Finally you will find that, This is work well. Yet Any problems? Contact with me at oDesk.
Thank You.

Multilingual widget for WordPress

If you are using qTranslate to make multilingual wordpress site, you will feel that you need to  add widget on sidebar that are not support Multilingual text. I will need to add a widget that support Multiple language.

gText Widget is for you. gText Widget is multilingual text widget, which works with qTranslate plugin. You have to install qTranslate plugin before you use gText Widget. This plugins requires at least qTranslate 2.0 version. After installing gText Widget, you will have different input boxes for languages, which you have enabled with qTranslate.

Download qText Widget.