Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SpeakOut!

    (@123host)

    You will have to edit the file /wp-content/plugins/speakout/class.signature.php and find line 76 where it says ORDER BY $db_signatures.id DESC $sql_limit

    Change that to ORDER BY $db_signatures.id ASC $sql_limit and it should work for you. I haven’t tested so if it doesn’t, please let me know.

    This script doesn’t change very often, so updates shouldn’t be a problem.

    Thread Starter Bruno Riggs

    (@riggsba)

    It’s working almost 100%. But see that the first column is descending. Can we change?

    Look: https://diretasoab.com.br/quem-ja-assinou/

    Plugin Author SpeakOut!

    (@123host)

    That starts to get complex as the number also has to take into account pagination (e.g. 100 signatures to a page).

    I haven’t tested thoroughly, but this works by the look of it.

    in /wp-content/plugins/speakout/includes/class.signaturelist.php

    Line 40 under the line $current_signature_number = $total - $start; add an extra line $current_signature_number = $start + 1;

    line 163 & line 239 change $current_signature_number --; to $current_signature_number ++;

    BUT, make a backup of the original file before you make any changes and also once you have done it and it is working, make a copy of the file you just edited so that if an update over-writes them, you can easily redo it.

    Thread Starter Bruno Riggs

    (@riggsba)

    Works well Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I change the order of the list?’ is closed to new replies.