• Resolved jtheofel

    (@jtheofel)


    I used the plugin to create a tag group and display just this group. The list should be sorted by tag name. But this does not work. I also tried to order by slug – but this didn’t work either.

    Here is the short code:
    [tag_groups_alphabet_tabs hide_empty=0 include=1 orderby=name separator=”<br>” smallest=14 largest=12 append=”: {count}”]

    Writing orderby=name or orderby=”name” makes no difference.

    (All tags start with “R”. Therefore I removed the tabs above the list.)

    • This topic was modified 4 years, 11 months ago by jtheofel.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • What do you mean by “does not work”? Which order does it show instead? Is it ordered randomly, or by post count?

    Please make sure that all quotes are unformatted, just to be sure.

    What happens if you add order=desc?

    If you make other changes, do you see a change on the website? (i.e. no caching plugin showing the old page.)

    Thread Starter jtheofel

    (@jtheofel)

    Hi Chris!

    Thanks for the quick reply!

    The order seems to be very random. I added the order=desc option which didn’t change the output. But if I change the “after” option the change apperas. That means this is no caching issue.

    You can finde the output here: https://www.jans-kuechenleben.de/laenderkuche/

    Is is the shortcode I use right now:
    [tag_groups_alphabet_tabs hide_empty=0 include=1 orderby=name order=desc separator="<br>" smallest=14 largest=12 append=": {count} xx"]

    Jan

    That is strange. The sorting of your tags in the admin backend works fine? (If you click on the “Name” header above the column where you see the tag names)

    What happens if you try orderby=natural or orderby=slug?

    Is it possible that the current order is by ID (like using orderby=term_id) – that means in the order how you entered them? I don’t see any other possible order.

    You have certainly tried with other plugins disabled? (No other plugin interfering in the sort order?)

    Thread Starter jtheofel

    (@jtheofel)

    Hi Christ,

    thanks for your great support!

    I deactivated the plugin “Category Order and Taxonomy Terms Order” which solved the issue. I don’t need it which the new theme anyway.

    Jan

    Good to hear that! I was really scared that the plugin went crazy! ??

    BTW If you want to display the tags in a different order (for example sort “Rezepte aus den Niederlanden” without considering the article “den”, consider the “N” as relevant first letter) you can do it by sorting by “slug” and then customizing the slug for tags that have an article in the name by removing the article (“rezepte-aus-niederlanden”).

    Thread Starter jtheofel

    (@jtheofel)

    Thanks for the great idea! I changed all the slugs and sorted for the slugs.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Orderby seems not to work’ is closed to new replies.