Forum Replies Created
-
AuthorPosts
-
Erik78
MemberThank you braddalton,
I have read through the topic but I don't understand what I should modify in this code you gave;
add_filter( 'woocommerce_shortcode_products_query', 'woocommerce_shortcode_products_orderby' ); function woocommerce_shortcode_products_orderby( $args ) { $standard_array = array('menu_order','title','date','rand','id'); if( isset( $args['orderby'] ) && !in_array( $args['orderby'], $standard_array ) ) { $args['meta_key'] = $args['orderby']; $args['orderby'] = 'meta_value_num'; } return $args; }
Could you please help me with that?
I have changed the shortcode on my page with category's to:
[product_categories number="32" orderby=”menu_order” parent="0"]
Erik78
MemberHi Victor,
I've previously searched the woocommerce-forums and the problem seems to be solved after updating themes like Storefront. https://wordpress.org/support/topic/product-categories-order-not-working-after-update/ That's why I opened this topic at Studiopress.
Hope someone can point me in the right direction.
Erik78
MemberSolved it with the help of this topic on the genesis connect support: https://wordpress.org/support/topic/woocommerce-3-0-0-single-product-page-image-not-showing/
I addes the folowing code to style.css
.woocommerce div.product div.images.woocommerce-product-gallery{
opacity:1 !important;
}figure {
display: block;
margin-top: 0em;
margin-bottom: 0em;
margin-left: 0px;
margin-right: 0px;
}Erik78
MemberAnyone has an idea?
I removed the code from my functions.php;
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );This solves the issue, but I quite like the zoom, slider and lightbox. When I remove the code above the image is displayed in full screen right away. I like it better when you just stay on the product page when I click an image.
Erik78
MemberHi Christoph,
Somehow the "check for updates" was switched off. I updated the framework and it fixed my problem.
Many thanks! Enjoy your coffee ๐
Erik78
MemberPerhaps de Google Structured Data tool gives moor clearness. When I run the tool for the page with only the URL displayed in Google, then the breadcrums section looks like this;
The page with the pretty breadcrumbs in Google looks like this;
How can I make the 1st example like the 2nd, so that the breadcrumbs in Google are displayed like:
Home ยป Schijfmagneten
instead of
https://www.magnetenkopen.nl/schijfmagneten/What is the reason that this isn't automatically generated with the Yoast breadcrumbs?
I hope that someone can help me with this.
Erik78
MemberHi Christoph,
Thank you. That's seems to be exactely what went wrong. I removed this line in the robots.txt and now the warnings are gone;
Disallow: /wp-*
Thank you for helping me out!
Erik78
MemberHi,
What kind of error message is shown?
I had this problem once, I couldn;t upload .png-files, but had no problem uploading .jpg-files. This was a http-error.
Could also be that your folder permissions are not set correct. Can you upload the files perhaps via ftp?
Erik78
MemberUgly breadcrumb in Google: https://www.google.nl/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=https%3A%2F%2Fwww.magnetenkopen.nl%2Fschijfmagneten%2F
Pretty breadcrumb in Google: https://www.google.nl/search?q=https%3A%2F%2Fwww.magnetenkopen.nl%2Fwinkel%2Fneodymium-schijfmagneet-o8-hoogte-2-mm-houdkracht-11-kg%2F&oq=https%3A%2F%2Fwww.magnetenkopen.nl%2Fwinkel%2Fneodymium-schijfmagneet-o8-hoogte-2-mm-houdkracht-11-kg%2F&aqs=chrome..69i58j69i57.1031j0j7&sourceid=chrome&ie=UTF-8
-
AuthorPosts