Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Specify taxonomy category to show via admin form?

Started by Paul Murray 8 years ago · 0 replies · 813 views
8 years ago

I'm building a landing page template that draws in portfolio pages from my /work page. I can show work from specific categories no problem using findTaxonomy() and hard-coding it into the mark up, but I want to be able to specify the category to show work from, from within the admin page.

Ideally I want to be able to just use a text or selectize field and insert its value/values into the findTaxonomy() method like so … ({ category: ['MY CATEGORY', 'ANOTHER']} , or ) %}

Is this possible, and if so what would I start looking for docs on doing this?

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 2 days ago
2 53 16 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 82 16 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 186 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 379 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 595 2 months ago