How to Display more or all sessions in the Schedule widgets

  1. Home
  2. Docs
  3. Fudge
  4. Frequently Asked Question...
  5. How to Display more or all sessions in the Schedule widgets

How to Display more or all sessions in the Schedule widgets

This tutorial is to change how many sessions are displayed in the default view of the Schedule widget. Remember to back up all files. A small typo or incorrect value in the functions.php file may make your site inaccessible from browser. You’d need FTP access. Navigate to wp-content/themes/fudge/functions.php and search for the following line.

function get_schedule_limit() {

You can see a function like see below:

function get_schedule_limit() {
    return apply_filters('fudge_schedule_limit', 3);
}

Change the default 3 to the number of sessions you would want to display. If you want to display 10 sessions enter:

function get_schedule_limit() {
    return apply_filters('fudge_schedule_limit', 10);
}
Was this article helpful to you? Yes 1 No 3