Paste the following code into functions.php file of your in-use theme. Don’t forget to put the desired email address in new_mail_from function(line 5) and desired name in new_mail_from_name function (line 8). If you do not know how to do it…
Category: WordPress
WordPress + Web.config “not found” error on home page
I was trying to setup wordpress on IIS when i faced this problem. I placed a web.config file with given xml code and pretty urls (permalinks) worked fine on all page except the home page. Home page gave a Not…
How to Fix the “URL is Unreachable” Error in Facebook Comments
Recently, i have been setting up the Facebook Comments plugin on my client’s server. Before trying it on live server i tried to set it up on my development server. It looked to work but with a error “Warning: http://coolum.inimist.com/?p=1 is unreachable.“ where…
Custom search with pagination using query_posts() in WordPress
The number of posts per page is set in Settings > Reading in WordPress. Once this is set, specific number of posts are shown on home page, archive pages, search results page, and so on.
Custom Image thumbnail on Single Product page in Woocommerce
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…
Customizing purchase log email in WP-Ecommerce
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…
Payway Net payment method for WPCommerce
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.
How to get current category id in Woocommerce?
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…
How to edit a page in WordPress
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…
How to open a WordPress menu child link in new window with jQuery
Following is the example code for how to open a WordPress menu child link in new window with jQuery.