cadovius
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneForum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneDid you get my screenshot?
Forum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneAfter you clear the cache it will work for a couple of times after that the images don’t load again.
Thank you for looking into it.Forum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneHi,
I have updated everything and the problem is still there.
The things that are in my funtions.php I have added.<?php
function my_theme_enqueue_styles() {$parent_style = ‘virtue’; // This is ‘virtue-style’ for the virtue theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );/*
* move location description next to images
*/add_action( ‘woocommerce_single_product_summary’, ‘the_content’, 20 );
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );//remove cart */
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 10 );remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
remove_action( ‘woocommerce_simple_add_to_cart’, ‘woocommerce_simple_add_to_cart’, 30 );
remove_action( ‘woocommerce_grouped_add_to_cart’, ‘woocommerce_grouped_add_to_cart’, 30 );
// remove dropdown */
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 20 );//out of stock replace price with sold
function myprefix_edit_woo_price( $price, $product ) {
if ( ! $product->is_in_stock() )
{
$price = ‘Sold’;
}
return $price;
}
add_filter( ‘woocommerce_variable_sale_price_html’, ‘myprefix_edit_woo_price’, 10, 2);
add_filter( ‘woocommerce_variable_price_html’, ‘myprefix_edit_woo_price’, 10, 2);
add_filter( ‘woocommerce_get_price_html’, ‘myprefix_edit_woo_price’, 10, 2);?>
Forum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneHi,
I am using iphone 6, but the problem also occur on iphone 7.
Sometimes it works, but if you navigate back and forward the images are gone again. If I refresh the product page the images appear again.
If I tap the blank space where the images should be, the images also appear. (first the big pop-up images).Cadovius
Forum: Themes and Templates
In reply to: [Virtue] Virtue; Images nog showing on IphoneHey,
Thank you for checking, but the problem consists. If you navigate back and forward from a category to a product page. Sometimes the images don’t show at all sometimes they show for a few seconds and disappear.