0

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}
2
  • 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. Dec 21, 2020 at 12:58
  • what the error you are facing or which thing that you can not achieve?
    – ZealousWeb
    May 24, 2021 at 9:54

0

Your Answer

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

Browse other questions tagged or ask your own question.