Tags » Wordpress 2

Trim decimal from price in WooCommerce

If you want to remove decimal from price then add following code in functions.php , this filter will remove zeros from product price. 16 more words


How to Disable Automatic Updates feature in WordPress

WordPress has a good feature to update itself automatically. It is good practice to update WordPress sites periodically, as well as WordPress release new version. It is not advisable to disable this feature, but sometimes your site got broken due to some plugins which are not compatible with new version of WordPress. 63 more words


Why are my blog statistics so low? Who's reading this thing anyway?

We all know by now that it takes time to build a blog audience and that you need to keep plugging away, writing interesting stuff and engaging with your readers. 593 more words


Add Custom Cart Item Data in WooCommerce

Add custom field in WooCommerce product.

Add a Custom Field to Your Product

 * Output engraving field.
function iconic_output_engraving_field() {
	global $product;

	if ( $product->get_id() !== 1741 ) {


		" maxlength="10">


add_action( 'woocommerce_before_add_to_cart_button', 'iconic_output_engraving_field', 10 );
… 281 more words

Story of a Broken Man

Broken ©photography by Isadora DeLa Vega

~ Kindness is loving people more than they deserve ~


Grant that we may not so much seek to be consoled as to console… 53 more words


Best way to filter featured image text

add_filter( 'admin_post_thumbnail_html', 'add_featured_image_instruction');
function add_featured_image_instruction( $content ) {
	global $post;
	if($post->post_type == 'stores' || $post->post_type == 'dining'){
    	return $content .= '<p>Recommended Size: <b>365px * 246px</b></p>';
	if($post->post_type == 'whats'){
    	return $content .= '<p>Recommended Size: <b>340px * 280px</b></p>';
	return $content;