Active Filter Link


The Filterable Portfolio module in the Portfolio Posts Pro plugin has the ability to filter the layout results using a special URL. By default, the results will show all posts with the All filter button active. You can change this behavior by linking to the page containing the layout with the category name/slug added to the URL like so:

Make sure you replace any spaces in the category name with dashes. “Family Portraits” would become “family-portraits”. Assuming the layout contained posts in that category, those posts would be the only ones displayed when the page loaded and the filter button for that category would be active. You’ll still be able to view posts in other categories by clicking on the other filter buttons.

Click here to see examples and discussion of this feature.

Share This