1

I am trying to get the current entry's related entries by using stash

main article full view:

{exp:channel:entries channel="blog" dynamic="yes"}
{exp:stash:get name="my_custom_field"}
{/exp:channel:entries}

Related article list:

{exp:channel:entries dynamic="no" search:my_custom_field="{exp:stash:get name="my_custom_field"}"}
<li>{title}</li>
{/exp:channel:entries}
  • You'll get better answers to your questions if you provide some information about what version of EE (and any add-ons) you are using; the differences in EE versions can be significant factors in how the question is answered. – JCOGS Design Dec 21 '20 at 12:58

Your Answer

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

Browse other questions tagged or ask your own question.