Forum Replies Created

Viewing 15 replies - 31 through 45 (of 80 total)
  • Thread Starter johndos

    (@johndos)

    They will work on it, it’s a problem only when trying to add new products (as I am doing A.T.M.) and it seems it doesn’t affect us in any other way as everything added up until now seems to be in place (or at the very least seems so).
    They will have an update as soon as they figure out what causes the issue.

    • This reply was modified 5 years, 10 months ago by johndos.
    • This reply was modified 5 years, 10 months ago by johndos.
    • This reply was modified 5 years, 10 months ago by johndos.
    Thread Starter johndos

    (@johndos)

    sorry to pester you mate but did you have the chance to check this out?

    It actually works with CF7, I am using it, tell us what happens and give us a screenshot of the error just so that we can help you.

    Forum: Plugins
    In reply to: [WooCommerce] tag filter
    Thread Starter johndos

    (@johndos)

    There used to be a tag filter https://docs.woocommerce.com/document/woocommerce-product-search/widgets/product-filter-tags/ but it’s possible that they removed it and forgot to update the documentation.

    Forum: Plugins
    In reply to: [WooCommerce] tag filter
    Thread Starter johndos

    (@johndos)

    I have seen that as well mate but does the same the most used tags of what you choose, what I want is to use tags as a filter just so that I don’t create more subcategories. For example category (orthopedics) -> subcategory (hand casts) and then filter the products with tags f.e. tag1 (shoulder) tag2 (elbow) etc. instead of creating a subcategory for each. So I do not want a widget that shows all tags, but only the tags used in the specific category.

    Forum: Plugins
    In reply to: [WooCommerce] tag filter
    Thread Starter johndos

    (@johndos)

    I have seen that mate but the description says “A cloud of your most used product tags.” so that means it’s not a tag filter it just displays the most common ones.

    Thread Starter johndos

    (@johndos)

    Hey mate sorry, the website is https://medicalfa.gr

    Thread Starter johndos

    (@johndos)

    Alright regard this topic as closed, it was my mistake. I should have added a coma right before ‘.css’

    • This reply was modified 5 years, 11 months ago by johndos.
    Thread Starter johndos

    (@johndos)

    Thank you very much for the explanation above. I will test it.

    I have downloaded the file from here in github, hopefully it’s the correct one.

    Thread Starter johndos

    (@johndos)

    I get what you mean, I have to add the dequeue/dereguster abd enqueue styles/js in functions.php after they are enqueued by the theme.

    so after the

    wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/vendors/font-awesome/css/font-awesome' . $min . '.css', '', '4.7.0' );

    I should add the

    wp_dequeue_style( 'font-awesome' );
    wp_deregister_style( 'font-awesome' );
    wp_enqueue_style('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.1/css/all.min.css', array(), NULL, 'all');

    etc for each global CSS and JS

    and if it’s a script I should

    wp_dequeue_script( '' );
    wp_deregister_script( '' );
    wp_enqueue_script( 'js, cdnjs_url, $deps, $ver, $media );

    P.S. I have added the lines but it starts on line 1457 to 1463

    		if ( in_array( strtolower( $hdr_key ), $known_headers, true ) ) {
    			$hdr_val = ltrim( substr( $hdr, $ptr + 1 ) );
    			if ( ! empty( $headers[ $hdr_key ] ) ) {
    				$hdr_val = $headers[ $hdr_key ] . ', ' . $hdr_val;
    			}
    			$headers[ $hdr_key ] = $hdr_val;
    		}

    right after the

    	$headers = array();
    	if ( function_exists( 'apache_response_headers' ) ) {
    		$headers = apache_response_headers();
    	}
    	if ( empty( $headers ) && function_exists( 'headers_list' ) ) {
    		$headers = array();
    		foreach( headers_list() as $hdr ) {
    			$header_parts = explode( ':', $hdr, 2 );
    			$header_name  = isset( $header_parts[0] ) ? trim( $header_parts[0] ) : '';
    			$header_value = isset( $header_parts[1] ) ? trim( $header_parts[1] ) : '';
    
    			$headers[$header_name] = $header_value;
    		}
    	}
    
    	foreach( $headers as $key => $value ) {
    		if ( ! in_array( strtolower( $key ), $known_headers ) ) {
    			unset( $headers[ $key ] );
    		}
    	}
    
    	return $headers;
    }
    • This reply was modified 5 years, 11 months ago by johndos.
    • This reply was modified 5 years, 11 months ago by johndos.
    Thread Starter johndos

    (@johndos)

    Alright thank you a lot, really man thank you, also for the cdnjs, should I disable photon and add cdnjs.cloudflare.com in the WPSC cdn support?
    For the PR641 I have edited the code, but only the first part on line 229 and 231-233 but the other part that needs to be deleted doesn’t exist in the code
    $headers[ $hdr_key ] = ltrim( substr( $hdr, $ptr + 1 ) );
    So I didn’t add the later part on 1448 – 1454.

    • This reply was modified 5 years, 11 months ago by johndos.
    • This reply was modified 5 years, 11 months ago by johndos.
    Thread Starter johndos

    (@johndos)

    So I have installed the dev version of WPSC and have added the WPSC_CACHE_CONTROL_HEADER set to 3600. I haven’t touched the .htaccess yet as I am not sure of what to load and what not. Thus I didn’t disable the plugin for HTTP/2. But I have already switched to simple (to be honest I haven’t changed it since I installed the plugin). Also I have enabled the Cache HTTP headers with page content and just now cleared cache from CF, FVM and WPSC.
    If you need to see the debug logs I am happy to send them.

    Thread Starter johndos

    (@johndos)

    Thanks a lot! I will test it in the evening and let you know.

    Thread Starter johndos

    (@johndos)

    So you think I should enable the Cache HTTP headers with page content.? Won’t that slow down the website as it uses PHP file delivery?

    Thread Starter johndos

    (@johndos)

    Hello Sasa I have also forgot to mention that I have the HTTP/2 Server Push plugin active, could it mess around with the preload?

Viewing 15 replies - 31 through 45 (of 80 total)