-
AuthorPosts
-
September 20, 2018 at 6:02 am #1012134
I have been working on re-categorizing my products and have had to add a number of sub-categories.to a parent. My end result is a list of sub-categories that is not in alphabetical order when reviewed within WordPress. They display properly from the widget drop down menu. A large group of them is in order. And there is another section of them that is in order also. I figured out how to slide a category to another location on the page displayed, but if I have to move them to correct it, then I also need to move them to other pages. I haven’t been able to figure out how to do that one. How to I get these to display in order everywhere? Thanks.
- This topic was modified 6 years, 2 months ago by TCTM.
September 21, 2018 at 11:15 am #1012713Hey Kathy,
You can try to install a plugin like: https://wordpress.org/plugins/taxonomy-terms-order/ to change the category order manually via drag’n’drop on the wordpress admin page.
Best regards,
PeterSeptember 23, 2018 at 2:09 am #1013180Peter,
I tried your recommendation of installing the plugin Taxonomy Terms Order. It was easy to work with, but it only affected the display to the end user. While that is important, I need for the categories and sub-categories to be listed alphabetically on the backend as well. It is harder to manage when you have a lot of sub-categories and they are not in order. I am able to drag and rearrange within a single, but the category that has the worst problem spans at least 4 pages. Is there anything I can do within Enfold to fix that? Thanks.September 23, 2018 at 10:21 am #1013263Hi,
Enfold does not change the default order of the categories but it’s a wordpress core issue. You could i.e. try the code snippet from here: https://wordpress.stackexchange.com/questions/53094/how-to-change-the-categories-order-in-the-admin-dashboard (add it to the child theme functions.php):add_filter( 'get_terms_args', 'wpse_53094_sort_get_terms_args', 10, 2 ); function wpse_53094_sort_get_terms_args( $args, $taxonomies ) { global $pagenow; if( !is_admin() || ('post.php' != $pagenow && 'post-new.php' != $pagenow) ) return $args; $args['orderby'] = 'name'; $args['order'] = 'ASC'; return $args; }
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.