Forums

Breadcrumb NavXT
[resolved] Home url with WPML plugin not working (3 posts)

  1. jsruok
    Member
    Posted 1 year ago #

    Fix available:

    " 1. Open your breadcrumb_navxt_class.php file, and find this code:

    //Figure out the anchor for home page
    $breadcrumb->set_anchor($this->opt['home_anchor'], get_option('home'));

    then replace with this following code:

    //Figure out the anchor for home page
    $breadcrumb->set_anchor($this->opt['home_anchor'], get_bloginfo('url'));

    2. Still in the same file, find again this code:

    //Deal with the anchor
    $breadcrumb->set_anchor($this->opt['home_anchor'], get_option('home'));

    then replace with this following code:

    //Deal with the anchor
    $breadcrumb->set_anchor($this->opt['home_anchor'], get_bloginfo('url'));

    "
    http://www.openscriptsolution.com/2010/07/28/how-to-adjust-home-url-properly-in-breadcrumb-navxt-plugin-if-you-are-running-multilingual-site/

    Maybe this could be put into the plugin itself?

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

  2. mtekk
    Member
    Posted 1 year ago #

    Try the SVN trunk version, I changed this a few weeks back.

  3. jsruok
    Member
    Posted 1 year ago #

    Ok, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic