• Resolved jibril84

    (@jibril84)


    Hello,
    I have updated to version 17.0.5 and now the tags inside each box are no longer in alphabetical order.

    This is my code:
    [mctagmap responsive="yes" columns="3" width="120px" hide="yes" num_show="3" more="altri ?" toggle="? chiudi" show_empty="no" tag_count="yes" descriptions="no"]

    Thank you!

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author tugbucket

    (@tugbucket)

    hmmm… odd. I can’t replicate this locally but I see your shortcode is this:

    
    [mctagmap responsive="yes" columns="3" width="120px" hide="yes" num_show="3" more="altri ?" toggle="? chiudi" show_empty="no" tag_count="yes" descriptions="no" show_navigation="yes"]

    but, I see the navigation isn’t showing. Can you/have you turned on debugging to see if there are any errors?

    Thread Starter jibril84

    (@jibril84)

    Hello, the navigation isn’t showing because I’ve hidden it with CSS so it shows only on mobile ??
    I forgot to mention that I’m still using WordPress 4.4.21 (because at the moment I can’t update it) and now I wonder if that could be the problem.
    No errors in debug mode.

    sneesel

    (@sneesel)

    Same problem here, I’m new btw.

    Initially I used this code:

    [mctagmap responsive="yes" width="150px" columns="4"]

    But now, I’m using this

    [mctagmap responsive="yes" "asc" width="150px" columns="4"]

    Both of the doesn’t work.

    Please check and help me :3 thank you so much! Good plugin dev!
    https://www.botlyrics.com/artists/

    • This reply was modified 5 years ago by sneesel.
    Plugin Author tugbucket

    (@tugbucket)

    @sneesel @jibril84 I’m looking into this. I just now was able to reproduce this locally. Trying to figure out what’s going on here.

    Plugin Author tugbucket

    (@tugbucket)

    Can you two try version 17.0.6 and let me know? It looks like I tried to add a new feature in one place and forgot to redo the logic in another.

    Thread Starter jibril84

    (@jibril84)

    It seems that it doesn’t work properly everywhere. For example, look at the F in my page: “fagioli” should be the first, instead it’s after “funghi […]”.

    • This reply was modified 5 years ago by jibril84.
    Thread Starter jibril84

    (@jibril84)

    Ok, with my original shortcode it works. But if I add sort_alpha_groups="c|?" then the problem comes back.
    (I need that because I have the tag “a?aí in polvere” and I’d like to see it as the first tag instead of the last one as it is now)

    • This reply was modified 5 years ago by jibril84.
    Plugin Author tugbucket

    (@tugbucket)

    @jibril84 Okay I think I see what’s happening in your case.

    https://mctagmap.tugbucket.net/options/sort_alpha_groups/

    you are using sort_alpha_groups="c|?" which only considers the first letter of the word like in my link above. But, what it does, is then sort by the slug not the name. So in your case you have fagioli which has a slug of fagioli and funghi chiodini which has a slug of chiodini so sorting by slug, that is correct. Notice funghi cremino which has a slug of funghi-cremino and is sorted near the end as expected.

    So if you could edit your tags for things like:
    fagioli azuki
    fagioli azuki rossi
    fagioli borlotti

    which are just:
    azuki
    azuki rossi
    borlotti

    to:
    fagioli-azuki
    fagioli-azuki-rossi
    fagioli-borlotti

    and:
    funghi champignon
    funghi chiodini

    which are just:
    champignon
    chiodini

    to:
    funghi-champignon
    funghi-chiodini

    for example, they should sort (by slug) correctly.

    For the sorting of words like a?aí in polvere, if sorted by slug (acai-in-polvere), it will be first as of now but if you remove the sort_alpha_groups the list will sort by name and “fix” all the above tags but will move a?aí in polvere to the end as it’s sorting non-English characters and the ? sorts after Aa-Zz.

    Thread Starter jibril84

    (@jibril84)

    Oooh, ok, I got it! ?? I should change too many tags and then I should make as many redirects in order not to lose indexing. The a?aí can stay there! ??
    Thank you very much!!

    Plugin Author tugbucket

    (@tugbucket)

    Unfortunately I don’t think WP auto 301 redirects for changing tag slugs the way it does for posts and pages so yeah, if you have a way to 301 redirect them, you’ll need to.

    sneesel

    (@sneesel)

    Hi, thanks for your help Tugbucket, I updated to the newest version and it worked!

    L
    Lady Gaga
    Lana Del Rey
    La Oreja De Van Gogh
    Lewis Capaldi
    Lil Nas X
    Lily Allen
    Little Mix
    Lorde
    Louis Tomlinson
    Lover
    Luis Fonsi

    I have another question, Can I use it as a widget? and also changing tags for categories?

    Thank you so much!

    Plugin Author tugbucket

    (@tugbucket)

    @sneesel For using it as a widget, sure. I don’t see why not.

    as for “and also changing tags for categories?” what are you looking for?

    if you want to email me or start a new thread, we can talk about it more.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Tags are no longer in alphabetical order’ is closed to new replies.