How to remove "More Info" Links from session page ?

  1. Home
  2. Docs
  3. Tyler
  4. Frequently Asked Question...
  5. How to remove “More Info” Links from session page ?

How to remove “More Info” Links from session page ?

 

To remove More Info link from the session/schedule page, please do the following.

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

1) Open wp-content/themes/Tyler/js/schedule.js

2) Around line number 108, you can find:

html += ‘<div class=”session’ + concurrent + ‘”>
<span class=”time”>’ + session.time +’ – ‘+ session.end_time + ‘</span>
<div class=”session-inner”>
<a href=”‘ + session.url + ‘” class=”title”‘ + color + ‘><span>’ + session.post_title + ‘</span></a>
<span class=”location”>’ + session.location + ‘</span>
<span class=”speakers-thumbs”>
‘ + speakers + ‘
</span>
<a href=”‘ + session.url + ‘” class=”more”>
‘ + data.strings[‘more_info’] + ‘ <i class=”icon-angle-right”></i>
</a>
</div>
</div>’;

3) Please change the above code to :

html += ‘<div class=”session’ + concurrent + ‘”>
<span class=”time”>’ + session.time +’ – ‘+ session.end_time + ‘</span>
<div class=”session-inner”>
<a href=”‘ + session.url + ‘” class=”title”‘ + color + ‘><span>’ + session.post_title + ‘</span></a>
<span class=”location”>’ + session.location + ‘</span>
<span class=”speakers-thumbs”>
‘ + speakers + ‘
</span>
</div>
</div>’;

4) Save the file.

 

Was this article helpful to you? Yes 1 No