Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

using [wpv-found-count] in a conditional??

$
0
0

I am working on a view where I would like to display only 5 testimonials (children of another content type..), but if there are more items, I would like to append a link to a page that will list them all

I tried:

Count = [wpv-found-count]
[wpv-if  count="[wpv-found-count]" evaluate="$count > 5" ]<a href="[wpv-post-url id="$officer"]">See all testimonials</a>[/wpv-if]

I see "Count = 10", but I don't get the link
Any pointers on how to get this to work?


Viewing all articles
Browse latest Browse all 20145

Trending Articles