Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Breadcrumbs minor issue with qTranslate

Home / Forums / Virtue Theme / Breadcrumbs minor issue with qTranslate

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 6, 2015 at 2:11 pm

Using Virtue Premium in combination with qTranslate X: On a WooCommerce category page the breadcrumbs show the raw value (with translation markup) for the shop title because, unlike for all other titles, the shop title is not fetched using get_the_title() in the function kadence_breadcrumbs.

This is easily fixed in virtue_premium/lib/breadcrumbs.php:53 (2.9.6):

Change
$prepend = $before . '<a href="' . get_permalink( $shop_page ) . '">' . $shop_page->post_title . '</a> ' . $after . $delimiter;
to
$prepend = $before . '<a href="' . get_permalink( $shop_page ) . '">' . get_the_title($shop_page_id) . '</a> ' . $after . $delimiter;

it would be great if this can be fixed in future releases, for us qTranslate + WooCommerce users.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.