-
AuthorPosts
-
July 14, 2015 at 6:58 pm #473371
Hello there, I am using the All In One Rich Snippets plugin and for a single product page using woocommerce and the enfold theme. When I go to google structure data tool I get these errors for this product page. http://lowpriceecigs.com/shop/x-ohm-mech-mod
OverView
http://screencast.com/t/tbTD9Xdf86Unspecified Type
http://screencast.com/t/6cQ4toeoBProducts
http://screencast.com/t/tOuoTQpjBreadcrumbs
http://screencast.com/t/eH6QU7BYulKWCan you please let me know if these errors will prevent rich snippets from showing up on google serps.
July 15, 2015 at 2:02 pm #473732Hey Austin!
Go into your cache plugin’s setting and deactivate caching. Does this error happen when you deactivate all your plugins as well?
Cheers!
AndyJuly 16, 2015 at 4:27 am #474063Ok so I got everything working except the breadcrumb number 5 which is the breadcrumb of the actual product itself.
Its telling me, “A value for the title field is required.”
as well as, ” A value for the url field is required.”All I can tell is that breadcrumbs 1-4 which are the categories, are clickable links. The breadcrumb 5 is not a clickable link.
July 17, 2015 at 12:34 pm #474861Hi!
can you show us the breadcrumb in question? I think we might need admin access and you can post login details here as private reply. Our support for 3rd party plugins is limited, so please contact the plugin’s author about the issue with rich snippet plugin.
Best regards,
AndyJuly 23, 2015 at 9:33 pm #477972Hey Andy, is there a way to remove the last breadcrumb the “page title” breadcrumb from the breadcrumbs? Googles changes to the new Data Testing tool is not allowing the last breadcrumb to work. Forums are talking about updating class-breadcrumbs.php because of the changes by Google. Is this going to be fixed in the next update? thanks
July 25, 2015 at 7:54 am #478584Hi!
You add this in the functions.php file if you want to remove the last item in the breadcrumb:
add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 ); function mmx_remove_element_from_trail( $trail, $args ) { if ( is_singular('product') ) { unset($trail['trail_end']); } return $trail; }
If it doesn’t work, try this:
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 ); function avia_breadcrumbs_trail_mod( $trail, $args ) { if ( is_singular('product') ) { array_pop($trail); } return $trail; }
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.