I am trying to set a group of stash variables per an entry and use them in the rest of the site build but I can't 'get' the stash variables from outside the initial channel entries tag.

So something like below in which if I place the tags inside the closing channel entry tag they will appear, but as they are will not.

{!-- STASH SET --}
    {!-- GRID FIELDS --}
{!-- /STASH SET --}


2 Answers 2


The :set tags are not wrong, per se, as you are using the shorthand syntax. However, due to parse order, your 'get' tags are parsing before your 'set' tags since the sets are within the channel entries module tag.

Stephen's answer does fix things, because it moves the channel loop within the set module tags. (However, that is not always convenient.) You could also have fixed your issue by adding process="end" to the get tag, e.g.:

<h1>{exp:stash:logo process="end"}<h1>

to force it to parse after the channel loop, or you could wrap all the get tags in a {exp:stash:parse process="end"}.


Your :set tags are wrong. See docs here.

{!-- STASH SET --}
{exp:stash:set parse_tags="yes"}
    ...continue that format...
{!-- /STASH SET --}

Then you get the values like this:

  • I tried both ways initially. I was using the short tags method shown in the docs here I'll try again that way though...
    – W3bGuy
    May 27, 2014 at 21:26

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.