Web Developer Course

Pulling and Filtering by Category

This video demonstrates how to display content by category using Velocity and dotCMS. It covers applying categories to content, looping through them on the front end, and grouping content in each category. The tutorial includes using the API for category-based filtering. Initially, the video shows how to display blog titles and region categories beneath each item. It then progresses to automatically grouping blog content under each region category. By setting the category key to region and looping through all region categories, the tutorial dynamically filters and displays relevant content under appropriate headings. This method provides a clean and scalable way to showcase categorized content on the front end.

Next up

Chapter 8: Paginated Content Pulls

Continue →