Course filtering

On this page:

Description

New Learning Theme provides advanced course filtering script based on AJAX technology, which means users can filter courses using multiple criteria without reloading the page.

Users can filter courses by:

  • category,
  • teacher,
  • price (free, paid, all),
  • tag name,
  • custom fields.

Filter settings

Course filtering feature is enabled by default, so after theme installation is ready to use.

If you want to change course filtering settings, go to: Theme settings → Courses → Course list

#1 - set filter position (top or sidebar).

#2 - set sidebar position (left, right or classic, in case of two sidebars).

#3 - enter category ID or comma-separated category ID's to exclude a specific category from the category filter.

#4 - enter tag ID or comma-separated tag ID's to exclude a specific tag from the tag filter.

#5 - check/uncheck this option to include/exclude expired courses.

Teacher filter

To enable/disable teacher filter:

  1. Go to: Theme settings → Courses → Course list.
  2. CHECK/UNCHECK the Course instructor option.

Tag filter

To enable/disable teacher filter:

  1. Go to: Theme settings → Courses → Course list.
  2. CHECK/UNCHECK the Course tags option.

Custom field filters

To set custom field filters:

  1. Go to: Site administration → Courses → Course custom fields.
  2. Add a new custom field type DROPDOWN MENU and set menu options .
  3. Copy the field short name .
  4. Then go to: Theme settings → Courses → Course list.
  5. Find the Custom field filters option and paste custom field short name .


In separate lines you can add unlimited field filters. Each line consists separated by pipe character (|): field_short_name|filter_type. If you want to use a checkbox filter type, just type only field short name, like below:

level
semester|radio