Support » Plugin: 12 Step Meeting List » change functions.php for default sort

  • Resolved wimd

    (@wimd)


    The FAQ indicates to add this line to the functions.php for the theme:

    $tsml_sort_order = ‘region’; //options are name, location, address, time, or region

    But I’m having trouble with that. No matter where I put it in in that PHP page, it doesn’t seem to do anything. Can soneone provide a bit more guidance on exactly how to modify the PHP page so that the meeting page defaults to a chosen sort?

    Thanks in advance,

    Wim D.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support brianwarea24

    (@brianwarea24)

    Looks like the FAQ has the wrong variable name. Try this instead, in the functions.php file of your theme:

    $tsml_sort_by = 'region'; //options are name, location, address, time, or region

    • This reply was modified 4 weeks, 1 day ago by brianwarea24.

    That’s it! Thanks, Brian.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.