WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb NavXT
Breadcrumb NavXT + qTranslate product categories (3 posts)

  1. is0ph
    Member
    Posted 1 year ago #

    Hello,

    I’m using Breadcrumb NavXT 4.3.0 and qTranslate 2.5.34 (2 languages), along with TheCartPress 1.2.7.1
    Breadcrumb NavXT works fine, except it displays both languages and the qTranslate shortcodes for the TheCartPress product categories.

    Exemple: Home > Catalogue > [:fr]Catégorie de produit 1[:en]Product category 1 > Product Name

    I’ve seen in old posts in the forum that you said qTranslate (V1) didn’t use the get_category filter and couldn’t work with Breadcrumbs NavXT in that case (http://wordpress.org/support/topic/qtranslate-and-breadcrumb-navxt).

    As both plug-ins have been updated since this answer, do you confirm it can’t work or is there a workaround?

    http://wordpress.org/extend/plugins/breadcrumb-navxt/

  2. oldlastman
    Member
    Posted 1 year ago #

    If you still translate categories
    this hook make de trick for me

    function my_bnc_qtrans_title($title)
    {
      return __($title);
    }
    add_filter('bcn_breadcrumb_title', 'my_bnc_qtrans_title');

    greetings

  3. is0ph
    Member
    Posted 1 year ago #

    Thanks oldlastman, it works perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic