• If I give a post more than 1 category, Breadcrumb NavXT uses the alphabetically first category. But how do I change it so that it always ignore a particular category and its children categories when listing the breadcrumbs?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I honestly don’t think this is possible.

    I need something similar. Say for example that I am keeping the profile of my sales guys, and I want use categories for cities, and pick up one main category as their hometown.

    Currently with WordPress I don’t think this is possible. As of now I can think two possible solutions:

    1. Create a custom field for the post type and use it to record the main city.
    2. Create a custom taxonomy for the main cities. Now this would be an overkill, of course.

    Problem is: What if someone type Washington DC in one place and Washington D.C. in another place?

    I think it would be a great idea to have a feature to allow you to select the main category (well, the feature should be for any taxonomy for that matter)

    AHHHHHHHHHH
    Scuse me while I just cry.

    I Cant. Find. A. Solution. To. This.

    Can anyone???!!!

    It’s so retarded. So many blogs have posts with multiple categories, and that need breadcrumbs.

    And yet every single breadcrumb plugin does the same thing.

    Actually ALL I want is a contextual back button!

    So I’m in category ‘Apples’, I click on a post, and in the post it says ‘Back to Apples’

    But instead it just chosoes a random category it’s also part of.

    How can this not be an issue for people?

    Just try google this issue in any way possible… even google is stumped.

    SOLUTION!!

    Use this in the relavent post:

    <?php
    $url = wp_get_referer();
    $path_parts = pathinfo($url);
    echo 'Back to '. $path_parts['filename'], "\n";
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prioritize category for posts with multiple categories in breadcrumbs’ is closed to new replies.