Courses List
The Courses List block provides a dynamically updated list of one or more courses.
The list can be displayed as either a standard row list or as a grid. You can also choose to show or hide course data such the excerpt, date, or taxonomies.
How to Use
- Choose the Courses List block from the Add block menu (under the Widgets category).
- The Courses List block will default to a row list of course posts ordered newest to oldest, showing only the title link. How many courses display by default will depend on the “Block pages show at most” setting in your WordPress reading settings (default 10).
- If you’re happy with the defaults this is all you have to do. The list is dynamically generated based on the parameters you set in the Filtering and Order and number settings menus and will automatically update whenever a new post is published.
Additional Options
Layout and Display Options
You can change between the default list layout and a card-style grid layout by toggling between the List view and Grid view options in the block toolbar.
- When set to Grid view you can change the maximum number of columns to display under the Order and number panel in the block settings (in the sidebar). Note that at narrower screen widths (such as on phones) the display will fall back to fewer columns to preserve readability.
In the block settings you’ll find panels for Post content settings, Post meta settings, and Featured image settings. These control the following options:
- Course content settings: select whether to show the course content or not. If toggled on you’ll be able to also choose between an excerpt or the full text of the course, and also customize the length of the excerpt.
- Post meta settings: choose whether to show the post date, post categories, post tags, and other post taxonomies. Each can be toggled independently of the others.
Filtering and Sorting Options
By default the Courses List block will display the x most recent published courses. You can choose to modify that by changing the sort order and by filtering the included posts by taxonomy (either learning program or course tag).