Tropical Message Again !
I have a request, but maybe it's to deep in coding needs.
Would it be possible to display multiple galleries type on only one page ?
Each Gallery type could display it's name as title.
See my attached file to illustrate it.
I'm Using Post Type Order, the author of that plugin seem to have a lot of talent in taxonomy management, but i couldn't find something that convinced me. I'm ready to dive in the code if you give me a hint.
Thanks again, cheers.
Comments
To display different categories of galleries in such way you will have to customize theme a bit more. Work in galleires-list.php.
To get all categories you can use code from line 60
$terms = get_terms(CPT_GALLERY_TAXONOMY, 'hide_empty=1');
, then you can use this to make different queries and displaying items.Mainly you have all code you need in that file but you have to rearrange it and call new query for each category. So you have some job to do:-)
Hope that will help you somehow.
i'm gonna try this.
But now, i realize seeing that code that i just put a display:none on the genre filter, because i didn't want to see it on my "works" page.
I tried to put it back and remembered it was usefull for galleries.
Is there some way to hide the genre filter on work list and keep it on gallery list ?
could be added on next update in those pages options ?
With regards.
and it seems to be the same class for the filter.
I'd like to keep the filter on the gallery list page, and hide it on the work list page.
Can you give me the custom css to do so ?
Thanks
body.galleries-list-page
- for galleries listbody.works-list-page
- for works listNow you know what to do with these? :-)
With regards.