-
AuthorPosts
-
December 9, 2014 at 9:31 pm #365625
Hello,
I hope all is well. I am having trouble with a few plugins that allow the user to activate them by signifying specific categories…so they’re activated in some categories but not others.
In researching, I found that my Enfold Breadcrumbs are being displayed incorrectly in some cases. In some cases, it shows correctly, ie: Parent Category > Child Category … In other cases, it shows Child Category > Parent Category.
I have provided sample links to category pages for your review. Everything looks correct in the WordPress Dashboard so I’m wondering if it’s a problem with Enfold. Your insight is greatly appreciated!
December 10, 2014 at 4:57 pm #366059Hi kls1138!
I checked your site but you have the breadcrumbs disabled. Go ahead and add them back in so we can take a look.
Cheers!
ElliottDecember 11, 2014 at 1:19 am #366368This reply has been marked as private.December 11, 2014 at 6:09 pm #366787Hey!
Are you trying to change the order they display in? This is the WordPress function we use to display them, http://codex.wordpress.org/Function_Reference/get_the_term_list, it doesn’t look like there is a sort option.
It looks like it’s going to display them in alphabetical order.
Cheers!
ElliottDecember 15, 2014 at 9:13 pm #368574My apologies, but my expertise with the codex and code in general is limited. So please forgive the laymen terminology that follows.
To answer your question: I would like the list of categories to display in their hierarchical order as it makes no sense to display them in any other order.
I assumed that the purpose of the feature I’m referring to was to display the categories in which the particular blog post is entered. If this is correct, then the system should display the categories hierarchically….ie parent>child1>child2> and so on.
I would be surprised if this isn’t the way the feature was intended to work. Why would the categories be listed in alphabetical order? It really makes no sense. I have used over 20 different themes for my own projects and client projects and this is the first I’ve ever seen that lists categories in alphabetical order instead of hierarchically. Listing them hierarchically ensures uniformity across the site and provides the user with an accurate account of the structure of your content. Listing them alphabetically does the exact opposite. Any explanation you can provide would be helpful.
Perhaps the theme should use http://codex.wordpress.org/Function_Reference/get_term_children to properly display the categories within which a blog post is entered? Or use the same function that displays breadcrumbs?
Thanks!
December 16, 2014 at 4:25 pm #368956Hi!
So your wanting to display the parent category first if it has one and then the children behind it. The function you linked is just for getting the children of a certain category.
I don’t see an easy way of going about this. I don’t know of any way to sort them like how your wanting. I’ll flag this for the rest of our team to see if they have any idea on what we could do.
Regards,
ElliottDecember 17, 2014 at 5:02 am #369331Thanks, Elliot. If the theme is working the way it’s intended to work, then I’m cool with that. Honestly, I thought there must be something wrong on my end that was causing it to behave this way. I just assumed that this was intended to work like breadcrumbs. So there’s no need to look into it any further and you can mark this issue resolved. I do think that it would be a good feature to add for the future if possible.
Thanks!
December 17, 2014 at 5:58 pm #369606Hi!
Let us know if you have any other issue we can assist you on and feel free to make a feature request here: kriesi.at/support/enfold-feature-requests/
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.