@keraweb @oldrup
Thanks for your replies.
The shortcode I’m using is on a taxonomy template (using Divi) and not the pods template. I call a Pods template though.
I have the custom post type post “Artwork” and then several taxonomies one of which is “artist” (all created through pods), and I’m building that taxonomy page out.
So when I attempt something like this on the taxonomy/page template:
[pods name="artwork" where="artist = {@artist.name}" limit="20" template="List View"][/pods]
I’m calling the Artwork pod and trying to filter those artworks that have only that artist’s name by trying to pull that artist name dynamically from the taxonomy page. So this shortcode above is placed in the WP/DIvi template and then calls the artwork pod on this taxonomy page.
If I remove the where clause, the template looks great – just not filtered. It shows all artworks, of course.
Here is the full “list view” template and I use this on my main artwork page:
<article>
<div class="container-grid">
<div class="database_column_one">
{@post_thumbnail.medium}
</div><div class="database_column_two_top">
<b><u><a href="{@artist.permalink}">{@artist}</a></u></b><p>
<b><i>{@post_title}</i></b></div>
<div class="database_column_two_bottom">
Auction Date<p></p>
<b>{@auction_date}</b>
</div>
<div class="database_column_three">
Lot Number<p></p>
<b>{@lot_number}</b>
</div>
<div class="database_column_four">
Hammer Price<p></p>
<b>{@currency}{@hammer_price}</b>
</div>
<div class="database_column_five">
Buyer<p></p>
<b><a href="{@buyer.permalink}">{@buyer}</a></b>
</div>
<div class="database_column_six">
Underbidders<p></p>
[each underbidders]<b><a href="{@permalink}">{@name}</a></b>[/each]
</div><p></p>
</div>
<article>
In column_two_top, I list that artwork’s artist. ANd I have it linked to that respective artist’s URL (a taxonomy term page). It is this page where I am placing the shortcode (above) to filter by artist – but not the individual page – but a Divi?WP template for all of the ‘artist’ taxonomy terms. And am looking to filter dynamically to list the artwork using the same template.
Does this make better sense? I have tried for hours.
-
This reply was modified 2 years, 8 months ago by
rscarter1.
-
This reply was modified 2 years, 8 months ago by
rscarter1.
-
This reply was modified 2 years, 8 months ago by
rscarter1.