Woocommerce – Display product category of product in Orders page

Add Below Code in Your Theme function.php function action_woocommerce_admin_order_item_headers( ) { ?> <th class=”item sortable” colspan=”2″ data-sort=”string-ins”><?php _e( ‘Item category’, ‘woocommerce’ ); ?></th> <?php }; // define the woocommerce_admin_order_item_values callback function action_woocommerce_admin_order_item_values( $_product, $item, $item_id ) { ?> <td class=”name” colspan=”2″ > <?php $termsp = get_the_terms( $_product->id, ‘product_cat’ ); if(!empty($termsp)){ foreach ($termsp as $term) { … Read more

how to show list image in gallery?

I guess you should use get_post_gallery_images function, this is example from documentation below function pw_show_gallery_image_urls( $content ) { global $post; // Only do this on singular items if( ! is_singular() ) return $content; // Make sure the post has a gallery in it if( ! has_shortcode( $post->post_content, ‘gallery’ ) ) return $content; // Retrieve the … Read more

How to make this splash page responsive

as I understood you have two parts header, one for register one for logo, in bootstrap 3 : <div class=”row”> <div class=”col-md-6 col-xs-12″>logo here</div> <div class=”col-md-6 col-xs-12″>Register here here</div> </div> It will make your header responsive. and if you want that your image be responsive you can do like this in bootstrap 3: <img src=”https://wordpress.stackexchange.com/questions/210782/…” … Read more

Making titles clickable

However the answer of your problem havebeen given But in your site i have seen another bug. In the right side bar of your site you have shown the product list but the title of the product is not showing click symbol on mouse hover like product image. If you want to solve that too … Read more

How do I add functionality to images?

If you want to append HTML to images, you want to look inside the template files. Search for something like the_post_thumbnail function, and add your HTML right after the closing </a> tag (if there is one). You’d then need to style it with CSS so that it’s only visible upon hovering the image. For example, … Read more