Tyler

  1. Home
  2. Docs
  3. Tyler
  4. Frequently Asked Questions
  5. Is there a way to organise multiple sessions happening at any given time?

Is there a way to organise multiple sessions happening at any given time?

i.e. 5 sessions between 10.30 – 11.15 in room 1, room 2, room 3, room 4 and room 5, as per default it organises it randomly within that time.

You can arrange the order of schedule list by installing ‘Custom Post Order plugin’. Please have a look at this tutorial:

https://showthemes.zendesk.com/hc/en-us/articles/201628841–Tyler-Theme-How-can-I-order-Sponsors-Tiers-Session-Tracks-and-Media-Types-Easily-

Since the session times are the same, you need to make a small change on the file. Please follow the instruction below:

1) Please don’t forget to take a backup of the file prior to any change.

2) Open wp-content – > themes -> Tyler -> event-framework -> helpers ->cpt -> sessions.php via cpanel or FTP server.

3) Please note, it’s one of the core file of the theme. So please take a back up of the file prior to any changes. Search for the following function ( apx line no 78 )

public static function ef_sessions_posts_orderby($sql) {

global $wpdb;

return “mt1.meta_value ASC, $wpdb->postmeta.meta_value ASC”;

}

4) Replace that code with the following:

public static function ef_sessions_posts_orderby($sql) {

global $wpdb;

return “mt1.meta_value ASC, $wpdb->postmeta.meta_value ASC, menu_order ASC”;

}

5) Then update the file.

 

Was this article helpful to you? Yes No