WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb NavXT
I have some problem in Breadcrumb navigation (2 posts)

  1. Ivan Volkov
    Member
    Posted 1 year ago #

    Custom Post Type 2 = cpt2 whith Title = title1, Custom Post Type 1 = cpt1 And they has the same Taxonomy = tax1 with Term = term1
    I'm opening path mysite.com/cpt2/title1/ with Breadcrumb Home > Custom Post Type 2 > Term > Title
    Then I click on Term in Breadcrumb - is opening path mysite.com/tax1/term1 with Breadcrumb Home > Custom Post Type 1 > Term,
    but I need mysite.com/tax1/term1?post_type=cpt2 with Breadcrumb Home > Custom Post Type 2 > Term
    Help me fix it.
    PS. Exaple here. Warning - russian cyrillic

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

  2. John Havlik
    Member
    Plugin Author

    Posted 1 year ago #

    I see what you're trying to do, and as far as I can tell, there isn't a quick way to do this from your end. You'd have to hook into get_term_link() and append the post type selector when appropriate. See http://codex.wordpress.org/Function_Reference/get_term_link

    Breadcrumb NavXT is agnostic of this, but this is something I can see as useful and will look into adding it as a feature in an upcoming release (unlikely to make the next release since I'm already behind on that).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.