arslion
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Stop scrolling to top when deleting a product from cartSo, I haven’t found a nice solution to this anywhere. So went into the code of woocommerce and changed some code.
Open this file
wp-content/plugins/woocommerce/includes/wc-template-functions.php
and search for this at line 3640.wc_print_notices();
and comment or remove this line. then it will work for change in quantity and removing items from cart and it won’t scroll to top every time when you have 100’s of products.
Also you don’t need to use
document.location.reload(true);
for this.P.S. You have to change it every time when you update the plugin.
Forum: Plugins
In reply to: [WooCommerce] Updating Cart, Moves PageCan you try this?
Forum: Plugins
In reply to: [WooCommerce] Stop scrolling to top when deleting a product from cartNo one replying :/
Forum: Plugins
In reply to: [Jazz Popups] Link Popup To a Clickable Imageme too want that clickable image
Forum: Fixing WordPress
In reply to: Updated to 4.5 and woocommerce shop page not showing product imagesThanks alot, I just disabled YITH wishlist plugin and now everything is fine. ??
Forum: Fixing WordPress
In reply to: wp-admin/post-new.php showing page not found :/also i deactivated all in one seo and jetpack to see if that will work, but it won’t work after that.
Tried . didn’t worked ??
$thumbnail_size is already defined. Everything works fine on my own server. When i use Photon it won’t resize. Don’t know why..
<?php if( has_post_thumbnail() ): ?> <?php $post_thumbnail_img = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), $thumbnail_size ); ?> <?php $post_thumbnail_data = ss_framework_get_the_post_thumbnail_data( $post->ID ); ?> <a>" title="<?php echo $post_thumbnail_data['title']; ?>" <?php echo $lightbox; ?>> <img src="<?php echo $post_thumbnail_img[0]; ?>" alt="<?php echo $post_thumbnail_data['alt']; ?>" title="<?php echo $post_thumbnail_data['title']; ?>" class="entry-image <?php echo $post_thumbnail_data['class']; ?>"> </a> <?php endif; ?>
[Please post code or markup snippets between backticks or use the code button. As it stands, your posted code has been permanently damaged by the forum’s parser.]
This code?