Woocommerce: Making email clickable [closed]

This is really a vanilla PHP/HTML question, but for what it’s worth: <?php if ( $email = get_post_meta( $order->id, ‘_billing_email’, true ) ) : ?> <li> <span><?php _e( ‘Email:’, ‘dokan’ ); ?></span> <a href=”https://wordpress.stackexchange.com/questions/178783/mailto:<?php echo esc_attr( $email ) ?>”><?php echo esc_html( $email ) ?></a> </li> <?php endif ?> <?php if ( $phone = get_post_meta( $order->id, … Read more

Making product image in woocommerce invoice linkable [closed]

have you tried, add_filter(‘woocommerce_order_item_thumbnail’,’reigel_woocommerce_order_item_thumbnail’); function reigel_woocommerce_order_item_thumbnail($item) { global $order; $_product = $order->get_product_from_item( $item ); $item = ‘<a href=”‘ . esc_url( get_permalink( $_product->id ) ) . ‘”><img src=”‘ . ( $_product->get_image_id() ? current( wp_get_attachment_image_src( $_product->get_image_id(), ‘thumbnail’) ) : wc_placeholder_img_src() ) .'” alt=”‘ . __( ‘Product Image’, ‘woocommerce’ ) . ‘” height=”‘ . esc_attr( $image_size[1] ) . … Read more

Add woocommerce.css in template?

function woocommmerce_style() { wp_enqueue_style(‘woocommerce_stylesheet’, WP_PLUGIN_URL. ‘/woocommerce/assets/css/woocommerce.css’,false,’1.0′,”all”); } add_action( ‘wp_head’, ‘woocommmerce_style’ ); paste the above code in your “functions.php”. woocommerce stylesheet will be executed to your site

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)