How do you add a filter inside your content (WordPress)?

You generate a list of all items and add attributes or css classes for tags you want to use as filter. For example, classes could be tool-seo, tool-links, cost-free, cost-paid, etc.

Then add a Javascript which will hide or show items based on those classes and selected criteria.

In WordPress I would go with custom post type and categories /tags for filtering to make it easy on backend.

Continue Reading →