Compress a folder in Godaddy SSH

In order to “zip” a directory, the correct command would be

tar -zcvf archive.tar.gz directory/



Redirect users after add to cart in woocommerce (WordPress)

Redirect users to cart after add to cart

This is the default option that is build into WooCommerce. You can find the option in the WooCommerce -> Settings -> Products -> Display area. When the option “Redirect to the cart page after successful addition” is checked it will redirect all users to the cart after adding a product to the cart.


Redirect users to a custom page



function my_custom_add_to_cart_redirect( $url ) {
$url = get_permalink( 1 ); // URL to redirect to (1 is the page ID here)
return $url;
add_filter( 'woocommerce_add_to_cart_redirect', 'my_custom_add_to_cart_redirect' );

Modifying the WooCommerce Product Query for Product Loop

How to change what products show up in the shop loop ?

Add this to your theme's functions.php or any plugin file.

add_action( 'woocommerce_product_query', 'show_active_events_only' );

function show_active_events_only( $q ){
$todays_date = date(‘Y-m-d’, time());
$meta_query = $q->get( ‘meta_query’ );
$meta_query[] = array(
‘key’ => ‘wcv_custom_product_enddate’,
‘value’ => $todays_date,
‘compare’ => ‘>=’

$q->set( ‘meta_query’, $meta_query );

Responsive Design: One Design for Each Job: Not Enough!

The responsive approach begins to make it’s way, users appreciate the advantages, designers and developers around the world support it. If we’re lucky enough to meet a client who wants to produce his or her site with this technology, we should be happy because we have the opportunity to work on a modern project. But we must also be concerned that when working on a good responsive project, work is harder and it’s hard to convince a customer to pay more for a responsive site than for a normal site. We can push the client to pay more if they propose to develop a dedicated mobile site or application for iPad, but this isn’t our case. We want our project to be “cross-device” and “avaiable in all sizes.”


ACA Discover

We start by asking what you hope to accomplish. It might be that a web site, printed material or email campaign is the strategic direction needed to meet your goals, but we can work together to determine the best way to move your audiences to action. And before we ever put the proverbial pen to paper, we will ask all kinds of questions about your business so we know what it takes for you to succeed.