I don’t really understand your question. Please describe your problem in more detail.
On a side note: It makes sense if you name your parameters like your field names, otherwise you will easily get confused when using multiple parameters. So if you field is called category, use a category url parameter etc.
thank you! I mean…
can you click hamburger menu in my site? https://groupseal.site/
there are two menu which is “exterior” and “architectural”.
I need to build "index"page so I choose tags option to separate “exterior” and “architectural”.
this code!
so when I go to the url like this : Design Group Seal
they display every page. without flitering.
so I think… I need to add something to here " if ($tag) {
$items = $items->filterBy(‘category’, $tag, ‘,’);
}
?>" because there are 5 more tage except “category”.
Sorry for my poor explanation…But if you click on my link, you’ll know what I mean…
And you don’t want to link to the works page from your index page? Then you have to adapt the url of the link.
I said it before, if I were you, I’d name the tags like the field name
$category = param('category');
// url would look like this https://groupseal.site/category:exterior
$year = param('year');
// url would look like this https://groupseal.site/year:2022