Portfolio Loop Filter
Portfolio Loop Filter

Portfolio Loop Filter

0/5 (0 ratings) 10 active installs Updated Sep 17, 2026

Portfolio Loop Filter adds a dynamic block for the WordPress block editor. The block creates filter buttons from the used terms of a selected taxonomy and filters the next Query Loop block below it.

The plugin is designed for block themes and portfolio grids that already use the native WordPress Query Loop block. It does not replace the Query Loop, does not register custom post types, and does not use AJAX on the frontend. The frontend script only toggles the visibility of Query Loop items that are already rendered on the page.

Typical use cases:

  • Filter a portfolio Query Loop by project categories.
  • Filter posts by categories or tags.
  • Place multiple independent filter and Query Loop pairs on the same page.
  • Keep content management inside WordPress core blocks while adding lightweight frontend filtering.

Features:

  • Dynamic Gutenberg block.
  • Post type dropdown in the block settings.
  • Taxonomy dropdown based on the selected post type.
  • Automatic filter buttons from used taxonomy terms.
  • Filter button ordering: alphabetical A-Z, alphabetical Z-A or manual.
  • Manual ordering controls directly in the block sidebar.
  • Newly added terms are appended automatically when manual ordering is used.
  • Filters only the next Query Loop below the filter block.
  • Optional “All” button, which remains first regardless of term ordering.
  • Button alignment: left, center or right.
  • Color controls for text, active text, border, background, active background and hover/focus border.
  • Fallback styles when no custom colors are selected.