Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Filterable Gallery
  6. How to Target Filters by URL in Filterable Gallery?

How to Target Filters by URL in Filterable Gallery?

Filter by URL is a special feature of PowerPack’s Filterable Gallery. It allows you to set Active Filter in Gallery by passing it as a parameter in the URL. If you want to display photos of a particular category to the user then this feature is really helpful.

Filterable Gallery - Filter Demo

To set up Filter by URL feature of PowerPack’s Filterable Gallery follow these steps:

  1. Under the General Tab, go to Filter Section and Custom ID Prefix. This prefix will be used to identify the Filterable Gallery on the page.

    Filterable Gallery - Custom ID Prefix

    For example: Let us set Custom ID Prefix as ppfilter and say we want to target Web Filter option. In order to target it, we will pass the URL like this: https://wpbeaveraddons.com/demo/filterable-gallery/#ppfilter-1.

    Number 1 is used to identify the tab. If we want to target Graphic then we will append -2 to the Custom ID Prefix and so on.

  2. Now add this link to any Module, Article anywhere and when the user clicks it they will be directed to the page with Filterable Gallery with the assigned tab opened. Click here to check the demo of Filterable Gallery’s Filter by URL feature.
Was this article helpful to you? Yes 1 No 1
×