WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb NavXT
Removing parent from trail until child is navigated to (5 posts)

  1. gstricklind
    Member
    Posted 1 year ago #

    I was able to remove "Home" from the navigation.

    Maybe I overlooked some of the settings but I would also like to have the trail not show until a child is navigated to. For example:

    Home
    Residents
    -Res PG 1
    -Res PG 2
    Business
    -Bus PG 1
    Visitors
    - Vis PG 1
    - Vis PG 2

    On Home, nothing shows (good).
    On Residents: Residents shows in the trail (needs to not show until child page is navigated to).
    On Residents > Res PG 1, trail shows: Residents > Res PG 1 (good).

    I have Home, Residents, Business, and Visitors all at the same hierarchical level. Any suggestions? Thanks

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

  2. deliwasista
    Member
    Posted 1 year ago #

    Hi gstricklind, how did you get it to not show on the home page?

    :)

  3. gstricklind
    Member
    Posted 1 year ago #

    Settings > breadcrumb NavXT - unchecked: Place the home breadcrumb in the trail.

    I guess I can bring that back, so it would look logical to the other pages having "Home > Residents" instead of just "Residents". But how would I remove the trail from the Home Page.
    I just don't see the trail useful on a page when its NOT useful. (on home page having only home in the trail, the global home button highlighted, AND the "Home" header.)

    Hmm..

  4. gstricklind
    Member
    Posted 1 year ago #

    Got it. In breadcrumb_navxt_class.php line 1053 change
    if($this->opt['bhome_display'])
    to
    if($this->opt[''])

    Removes the "Home" from the home page. Looks nice ;)

  5. John Havlik
    Member
    Plugin Author

    Posted 1 year ago #

    Don't modify the plugin, your modifications will break with updates. If you are trying to remove the breadcrumb trail from the home page, please look at the FAQ: http://mtekk.us/code/breadcrumb-navxt/faq/#use1

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.