I have a single-entry page with no category information in the URL. Each entry is only assigned to one category (or, if multiple, I only need one).

The goal is to display a list of up to 5 other entries from the same channel and category.

I've been around and around this but can't figure it out. Any ideas?

1 Answer 1


Have you given this a shot?


It's meant specifically for single-entry pages. I think it's used something like this:

{exp:channel:entries url_title="{segment_2}" limit="1"}

    Our single entry page ! {title}


{exp:channel:entries related_categories_mode="yes" limit="5" channel="CHANNEL_ID"}

     Related entries!


It that works for you, please take that inner loop out and put it in an embedded template, as it's more efficient.

  • How have I managed to overlook this for so long?! Thanks, yes, that worked perfectly. (Well, it actually it can't be nested inside another channel entries tag, but once I fixed that it worked exactly as expected.)
    – Matthew
    Oct 7, 2015 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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