• 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 Author 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 6 years, 6 months ago by brianwarea24.
    Thread Starter wimd

    (@wimd)

    That’s it! Thanks, Brian.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘change functions.php for default sort’ is closed to new replies.