Hi,
I’m trying to pull a random testimonial from my “Portfolio” weblog but not all the entries have the testimonial field filled in, so I have to be careful not to display an empty one. The problem that I’m having is that I only want to display one, but I want it to be a random one, yet the code below is not co-operating:
{exp:weblog:entries weblog="portfolio" sort="random" search:testimonial_short="not IS_EMPTY" limit="1" dynamic="off"}The code above always displays the first entry that it finds with the search and it seems to just ignore the “random” sort part…
Would anyone be able to point me in the right direction as to accomplishing the desired effect?
Thanks in advance!