Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author John Havlik

    (@mtekk)

    I guess I could add that behavior as a second version of bcn_display_list_multidim. Should be fairly simple to implement.

    Thread Starter Mariusz Szatkowski

    (@motylanogha)

    Sure John,
    Thanks – that might be helpful.
    It would be nice to choose categories/taxonomies to hide in hover expand menu.

    Thanks
    M

    Thread Starter Mariusz Szatkowski

    (@motylanogha)

    Just please let me know when you are about to modify the code.
    Thanks.

    forro

    (@forro)

    Hi John,

    Thank you very much, this is exactly what I was looking for.

    The multidimension extension is working as expected, but two points:

    1) Is there a way to filter the lists of siblings/children? I mean there are some pages which are there in the page tree, but are not to be listed, for example some forms and their thank you pages.

    2) bcn_display_list_multidim_children seems not to be dealing with the home breadcrumb, it does not extend it with the list of its children.

    Thanks,
    Peter

    Plugin Author John Havlik

    (@mtekk)

    Right now there isn’t a way to filter the children, but it is something I could look into.

    As for not including the home page’s siblings, this behavior was requested by the organization that sponsored the development of this function. I suppose I can add a parameter to alter that behavior in the next release.

    Plugin Author John Havlik

    (@mtekk)

    In the next version (2.0, should be available in December), two new filters have been added bcn_mutidim_post_children' and 'bcn_multidim_term_children' which filter the inputs to 'wp_list_pages() and wp_list_categories(). Additionally, an option has been added (under the Extensions tab in the Breadcrumb NavXT settings page) to switch on/off children breadcrumbs in the 2nd dimension of the Home breadcrumb when on the home page (only used when calling bcn_display_list_multidim_children() or the equivalent widget mode).

    forro

    (@forro)

    Hi John,

    Thank you, this sounds very well.

    Concerning the children breadcrumbs of the home with bcn_display_list_multidim_children, now they are missing not only when on the home page, but always. Will this enhancement make them visible only when on the home page?

    Plugin Author John Havlik

    (@mtekk)

    In my testbed, the instance where the 2nd dimension didn’t show up under the home breadcrumb was when on the home page itself. Now, granted the setup on my testbed is a little esoteric to test some things, so I may have missed something here. The version with this new feature is already available on the GitHub master branch of this plugin: https://github.com/mtekk/Breadcrumb-NavXT-Multidimension-Extensions feel free to test that and let me know if it fixes your issue or not (I’ll also test a few more configurations on my testbed).

    While trying the new version, I had to realize, that missing the children of the home breadcrumb was normal in my case, I was expecting something without thinking about.

    On our site, the main menu points are not below the home page, but together with it on the root level. As so, there are no pages to be listed by bcn_display_list_multidim_children().

    Having the home page with the first level menu pages together on the root level is however a quite common practice. But it is leading to a problem also in case of using bcn_display_list_multidim(), because the home breadcrumb will have the same sub-list, than the breadcrumb of the first level menu following it.

    Whith all these in mind, a fully comprehensive solution could be an option specific to the home breadcrumb, to decide whether it should have any children, and if yes to be siblings or children.

    In my specific case, while using bcn_display_list_multidim_children(), I would decide to apply bcn_display_list_multidim() to the home breadcrumb, while if I was using bcn_display_list_multidim, I would go on with no children below the home breadcrumb.

    Or perhaps another possible solution to such sites where the first level menu pages are on the root level, together with home, could be an option to consider home being on a virtual level above the root level.

    Sorry for this long post, I fully understand of course if all these were leading too far.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Category to expand child categories (not ones in the same level)’ is closed to new replies.