Updated on 17 Apr 2023
This members-only tutorial provides the steps to register a custom block for WP Grid Builder that outputs comma-separated links for categories of each post in the grid in a custom format.
Regular:
example.com/category/recipes/30-min-meals/
Custom:
example.com/recipes/?_filter_recipes=30-min-meals/
The benefit of doing this is that clicking the term archive links will not take the visitor to separate term archive pages but rather do the filtering.
Step 1
Add the following snippet using a code snippets like WPCodeBox and set it load on frontend.
Title: Custom Category Links
Code:
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $599 one-time).
Already a member? Log in below or here.