![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
March 31, 2018 at 7:30 am #935533
Hi Enfold Team,
I have used the accordion element for my FAQ section. Page link below in private content.
To sort the various toggles I have added different sorting values. However, by default the first sort that shows on the webpage is “ALL”. I would want the user to see the “Setting Tests” toggle values first and not “ALL”. ALL should come in the end.The priority of the sorting tags should be “Setting Tests>Pricing>Others>All
Can you please suggest what can I do to achieve the above.Thanks
April 2, 2018 at 7:44 am #935935Hey NR1234,
Here is the code you can put in your funtions.php
function accordion_toggle_reverse() { ?> <script type="text/javascript"> (function($) { $(window).load(function() { var reversed = jQuery('.togglecontainer.avia-builder-el-133 .taglist').children().get().reverse(); reversed.shift(); jQuery('.togglecontainer.avia-builder-el-133 .taglist').html(reversed); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'accordion_toggle_reverse');
If you need further assistance please let us know.
Best regards,
Victoria-
This reply was modified 6 years, 5 months ago by
Victoria.
April 2, 2018 at 9:11 am #935976Hi Victoria,
Thanks for your reply.
I pasted the code in functions.php at the very end of the file and saved it. However on refreshing the page it still does not change the default toggle which is still opening as “All” and not “Setting Tests” as I wanted.
Could you please help on how I could achieve this.
Thanks
Garima
April 2, 2018 at 12:39 pm #936032Hi Garima,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaApril 2, 2018 at 1:15 pm #936057Hi Victoria,
Please share your email ID for me to be able to give admin access.
Thanks
Garima
April 2, 2018 at 11:28 pm #936231Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
BasilisApril 3, 2018 at 1:48 am #936250Hi Basilis,
Please find the temporary login created in the private message tab.
Thanks
GarimaApril 3, 2018 at 10:18 am #936426Hi Garima,
There was an extra symbol there. It is working now. Please check.
Best regards,
VictoriaApril 3, 2018 at 11:14 am #936465Hi Victoria,
Thanks for your reply. While the sorting order is changed the default sort that is open is still “All”. I would like it to open at Setting Tests for the current page. Also, If I would like to change it the default open sort to some other category how do I do it?
Thanks for your support.
Regards
GarimaApril 3, 2018 at 7:28 pm #936737Hi,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis -
This reply was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.