I found this email validation function while working in ActiveCollab. By default, this function uses PHP’s inbuilt filter_var function to validate email, which is supported in PHP 5 (> 5.2.0). If version of PHP is older (is less than 5.2.0) it will use preg_match function to validate email using matching pattern defined Continue reading
WooCommerce provides easy and efficient ways to customize product thumbnail sizes on Single Product page. There are three the methods one could utilize in order to set Single Product Image Thumbnail size according to one’s needs.
Method One – You want to show full image
Create a filter in your theme-folder/functions.php file with the following code: Continue reading
There is an useful filter/hook you could use. I used this hook to increase space between columns and showing Subtotal and Shipping cost aligned to the right and aligning parallel it with the product cost, as shown in the figure below. Continue reading
Payway Net payment method for WP-Commerce is available. It works just similar to any other payment method in WPCommerce. It notifies of success, failure and/or decline and updates the store and order status accordingly. Continue reading
Following a brief note on ‘how to set IPN Notification url of Paypal’. Continue reading
How to get current category id in a template or theme functions file while using Woocommerce. In fact not only using Woocommerce but this method can be used to get the category object and subsequently the ID in normal category page. Continue reading
Quick notes on how to change text from back end in WordPress. This may make newbie in WordPress to be able to edit a page text.
Login to WordPress CMS back-end by suffixing /wp-admin/ to your website address.. For example on your server it goes http://yourwebsite.com/wp-admin/. It will ask you to login. Use your login/password. Once logged on you will be on the Dashboard. Continue reading
MIME Types – Complete List
Posting full list of MIME Type which every developer like me needs very frequently. Posting for reference here. Continue reading
One may find it useful for rotating images with fadeIn fadeOut effect using jQuery.
How it works?
It collects image elements grouped by class name and rotates them within an image element which is identified by element ID. Continue reading
Following is the example code for how to open a WordPress menu child link in new window with jQuery. Continue reading