Vertoh

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Questions
  5. How can I add more filters in conference agenda?

How can I add more filters in conference agenda?

To add more filters in conference agenda, please do the following:

Please do remember to back-up the file prior to any edit.

a) To add session-tracks filter, please add the following code inside the <ul id=”schedule_filters” style=”display:none;”> tag:

<?php if (!empty($session_tracks)) { ?>

<li class=”std-dropdown”>

<a href=”javascript:void(0)”><?php _e(‘Filter by track’, ‘vertoh’); ?></a>

<ul class=”dropdown-menu” role=”menu”>

<li><a href=”#” data-track=”0″><?php _e(‘All’, ‘vertoh’); ?></a></li>

<?php foreach ($session_tracks as $session_track) { ?>

<li><a href=”#” data-track=”<?php echo $session_track->term_id; ?>”><?php echo $session_track->name; ?></a></li>

<?php } ?>

</ul>

</li>

<?php } ?>

 

b) To add session locations filter, please add the following code inside the <ul id=”schedule_filters” style=”display:none;”> tag:

<?php if (!empty($session_locations)) { ?>

<li class=”std-dropdown”>

<a href=”javascript:void(0)”><?php _e(‘Filter by location’, ‘vertoh’); ?></a>

<ul class=”dropdown-menu” role=”menu”>

<li><a href=”#” data-location=”0″><?php _e(‘All’, ‘vertoh’); ?></a></li>

<?php foreach ($session_locations as $session_location) { ?>

<li><a href=”#” data-location=”<?php echo $session_location->term_id; ?>”><?php echo $session_location->name; ?></a></li>

<?php } ?>

</ul>

</li>

<?php } ?>

 

Was this article helpful to you? Yes No