Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #378381

    Hi Team,

    how can I reverse the sorting behaviour of the accordeon sorting tags? Default is from bottom to top, left to right. I want the very top item to be the first sorting option on the left.

    Thanks and cheers,
    Jan :)

    #378479

    Hey Jan!

    you can try this plugin: https://wordpress.org/plugins/post-types-order/

    Regards,
    Andy

    #380903

    Hi Andy,

    I’m actually using this plugin for taxonomy order and ordering the portfolio items. But I can’t use it with the manual accordeon sorting tags, can I? Where would I configure that?

    Thanks,
    Jan

    #381903

    Hey!

    Are you talking about the order of the tags with the accordions? They will display alphabetically by default. If you do not want that then comment out line 262 in /enfold/config-templatebuilder/avia-shortcodes/toggles.php.

    //ksort(avia_sc_toggle::$tags);
    

    Cheers!
    Elliott

    #381998

    Hey Elliott,

    great, THIS IS IT! :)

    Any chance doing this with quick css? Or with my child theme?

    Thank you so much for your patience,
    Jan :)

    #382576

    Hey!

    If you use our child theme, http://kriesi.at/documentation/enfold/downloads/, then you can create a new folder inside it called “shortcodes” and then copy the toggles.php file into the folder and edit it.

    Best regards,
    Elliott

    #382997

    Hi Elliott,

    not avia-shortcodes? Because it doesn’t work like that. What I did:

    1) remove the “//” in the enfold toggles.php
    2) created a folder “shortcodes” in my enfold child theme folder
    3) copied toggles.php from enfold to enfold child theme shortcodes folder
    4) added the “//” in line 262
    5) cleared the cache

    Something wrong?

    thanks,
    Jan

    #383368

    Hey!

    It should be called “shortcodes”. See here, http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/.

    If your using our child theme then it already has that function inside.

    Best regards,
    Elliott

    #385551

    Hi Elliott,

    I had to add the code from link to functions.php – thank you! :)

    Jan

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Reverse Sorting Tag Accordeon’ is closed to new replies.