HI Benjamin,
Thank you again for your assistance. It has taken a bit of trial and error to get to the correct solution. Instead of going with creating the columns as a style, I went with a grid.
.grid-container {
display: grid;
row-gap: 10px;
grid-template-columns: auto auto auto auto auto auto;
padding: 10px;
}
Then all I had to do was wrangle the categories/taxonomies. A brief on the results I needed to achieve ⌠this is for a publisherâs website, so needed the book covers (featured image) to link to the post with the details about the book and we have current and upcoming in one section and other sections on the same page with other years going back into the past. Except, we didnât want the romance division intertwining with the adventure/thriller/sci-fi offerings. I had been using the slugs for the categories (and the slugs were years) rather than the category IDs but went with the IDs for the below (and had to add a hyperlink statement otherwise the book covers displayed but didnât go anywhere.)
<div class="grid-container">
<Loop type=post orderby=date order=asc taxonomy=category terms=361,416,451 taxonomy_relation=and taxonomy_2=category terms_2=306 taxonomy_compare_2=not>
<a href="{Field url}"><img class=center src="{Field image_url}" width=90%></a>
</Loop>
</div>
My only other question at the moment is whether it is possible to feed variables to the L&L template. As I explained above, I have several sections where the only information changing for the template is the terms. So my question is in the post itself is there a way to call one template with all the same parameters, but in the post itself specify which variables need to be passed to the template? To help illustrate the question, something like :
<div class="grid-container">
<Loop type=post orderby=date order=asc taxonomy=category terms={Get local=my_variable} taxonomy_relation=and taxonomy_2=category terms_2=306 taxonomy_compare_2=not>
<a href="{Field url}"><img class=center src="{Field image_url}" width=90%></a>
</Loop>
</div>
And in the post something like:
[template id=12345 my_variable=361,416,451]
That didnât work, but I think I must be in the neighborhood.
As far as examples for the documentation, it would be helpful to have examples based on the terms. For instance, taxonomy_2 and so on, if there was an example showing the use of multiple taxonomies and not simply how to list whichever taxonomy is selected, that would be most helpful.
Again, thank you so much for your assistance.