Breadcrumb : missing 1rst categorie + too much categories

Posted in: Newspaper
Post count: 260

Hello

For example this page http://www.virtualmagie.org/articles/comptes-rendus/concours-et-congres/mayette-days/
have 2 differents categories:

One is “Concours et Congrès” which is in Article/Comptes-Rendus

The other is “Dossiers” wich is in Article/Autres

1/ As you can see, the beadcrumb don’t show the first categorie name “Article” after the Home (Accueil in french):
Accueil Comptes-Rendus Concours et Congrès Mayette Days

Bug? How to correct that?

2/ This article is on 2 end categories named Dossier & Concours et Congrès but the categories names, up to the title show the names of the relative.

It is not logical.
I prefer that there only is the name of the last categories (here 2 but in the other articles of the site, only one).

How do to that?

Regards

Post count: 7909

Hi,

1. I cannot access your site to figure it out what you problem with breadcrumbs is.. I also checked this and did not found any issues – http://screencast.com/t/ewLv7g5zn also there are some option in panel for breadcrumbs – http://screencast.com/t/LjGOSnMmwU If you select primary category – http://screencast.com/t/3VdFAoQfLS thsi will be displayed in breadcrumbs.

2. If those 2 categories have parent categories, also this will be displayed on post – http://screencast.com/t/P6YTWqzBX77http://screencast.com/t/fD8wkGd1X9wp
If you don’t want to display parent categories on posts, you need to modify the get_category function – http://screencast.com/t/YgwWzMSOMw5v
Please provide more details if this is not what you mean.

Thanks!

Post count: 260

Hello Alin

Site is back online.

1/ All options a still active like in your image.
I still not have the primary level categorie named ‘Articles’.
How could I do that (of course without change all 1 000 posts)?
If you could add this logical feature in the next update, it will be cool.

2/ Sorry, in your image, I don’t what to do! 🙁
I think you should really add this on the next update because, for my point of view, have the parent categories name is not logical (and reader could read this in the breadcumb). So it is more confusing that informative.

Regards

Post count: 7909

Hi,

1. Unfortunately if you don’t have a primary category set, it will take the first category from the categories of the post ordered alphabetically. I don’t think it is possible(or it is really not an easy task) to set a general option for this. How to figured out what categories you want to be set as primary for all of your post if you don’t set it for each post?
I also checked your post and you don’t have those categories in breadcrumbs because, like I said above, it takes categories alphabetical(it doesn’t count the parent category) and you have there these categories Concours et Congrès and Dossiers – so it is normal to appear C before D.

2. Try to remove this code and see how it goes(make a backup of your current file) – http://screencast.com/t/uZKBiOdCUr

Thanks!

Post count: 260

Hello Alin

I just spoke with a friend wich coding and we both don’t understand your answer.

The primary categorie feature is for article which have more than one end categories.
I undestand that.

But my concern is not that.

If you go for example on an article with only one end categories:
http://www.virtualmagie.org/articles/critiques/lectures/nothing-as-it-seems-de-ricky-smith/

in admin, the only categories choosen is Lectures.
Lectures is a category under Articles/Critiques.

As you can see in the URL, all te structure is perfect: /articles/critiques/lectures/

But not for the breadcrumb: articles is missing!

Same thing for all articles in the site for ex: http://www.virtualmagie.org/articles/tours/techniques-de-magie/propriete-des-nombres-multiples-circulaires-de-daniel-peris/

For my point of view it is not logical and a bug.

2/ Thanks.
But always the same problem : in the next update all will disappear.
Possible to add this choice in the admin panel please?

Regards

Regards

Post count: 7909

Hi,

1. You have the following structure:

Articles(parent category) > Critiques(subcategory) > Lectures(sub-subcategory)

For this article you set Lectures category, the breadcrumbs function displays 2 levels of categories so in this case the Lectures category is displayed and the parent category which is Critiques. To display more levels you need custom modifications.

2. I will add this on our suggestions list and if more users will request it, the developers will consider it. You can also make this change using the child theme as this file can be overwritten by it – https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks!

Post count: 260

OK so the explanation is that is block to 2 levels under.

I am not a dev but maybe it is just a single value to change in your code? 🙂
Maybe you could put 5 instead of 2.

However, if other clients agree we me on the bug, please let us know HERE to be sure it will be change on next updates! 🙂

Regards

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.