How can I display entries that only have a particular field completed.

In my case I am displaying all entries but would like to exclude any entries that have no image field completed. The image field is a matrix field.

Thanks Sinan


You can use the search parameter.

{exp:channel:entries search:image_custom_field_name="not IS_EMPTY" ...}

This will return entries where the image custom field has been filled in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.