Get a maximum of 750 or 7% off whichever is lower on any purchase on Ebay India

Tuesday 11 August 2015

I bought Internet pack on Vodafone website they gave me this gift voucher of eBay India after completing the transaction with that website. I don't want this voucher, so you can use it if you like. I am providing the details below.

eBay India Gift Voucher Code is :  NA4GCUDBYU

Gift Voucher Validity : Jan 1, 2015 - Sep 30, 2015

Visit www.ebay.in to redeem this eCoupon.

Enemy Front Crashed on Start Fix Win 8.1

Monday 10 August 2015

My laptop is running on Windows 8.1, when I first installed the Enemy Front game it crashed on start up. Error is like “Enemy Front not working properly on Windows”. But it worked fine when I uninstalled the Enemy Front and installed it back. Hope this works for those who are facing similar issues.

How to store custom field value in variable [WordPress]

Friday 4 July 2014

In WordPress blog we use custom fields for retrieving values from posts and pages. Here we will see how to store custom values in variables.
We have custom field for example:
Custom Field Name:SingleProduct
Custom Field Value:12345
Now we will see how we can store values using get_post_custom_values(“Custom Field Name”) function.
<?php
  $values = get_post_custom_values("SingleProduct");
  if (isset($values[0])) {
     $SingleProduct = $values[0];
} ?>

Here $values is array. get_post_custom_values function stores custom field values in array.
And then the $values[0] is stored in $SingleProduct variable.

How to add custom jQuery captcha to MailPoet Newletters WordPress plugin

Thursday 3 July 2014

There is no WordPress newsletter plugin with Captcha feature to show in newsletter signup forms. But there are plenty of custom Captcha jQuery plugins which we can use. I found a jQuery plugin which works perfect with MailPoet Newsletter WordPress plugin. The Ebcaptcha jQuery plugin works great with this MailPoet Newsletter plugin.

How to add Ebcaptcha to MailPoet Newsletter WordPress plugin:

1. In WordPress blog create a newsletter signup form in MailPoet plugin and copy the HTML code.
2. Place the HTML code in widget.
3. Download and extract Ebcaptcha and copy the required code from the sample html file.
4. Now place the Ebcaptcha code in the same widget where you placed the newsletter HTML code.
This is it. Now you have successfully integrated the captcha with newletter sign up box. Refresh your browser and you can find the Ebcaptcha integrated with MailPoet Newsletter plugin. Finding it difficult let me know i can fix.

How to add custom js files in WordPress blog

Generally we choose to add custom .js files in the <head> section of any page and this is same for the WordPress blog also. But most of the times .js files may not work as you expect them to. In this case simply put all the code in the Text widget in WordPress including the js files and jQuery library. This seems to work. This has worked for me when I was working for a client project.

How to display table row with alternate colors using css

There is a selector in CSS called nth-child. In pure CSS you can do the following:
tr:nth-child(even)
{
    background-color: #000000;
}

Just add this code to your CSS and see the change in your table.
 Source:http://stackoverflow.com/questions/3084261/alternate-table-row-color-using-css