Site logo

Archived topic

Order Elements

3 replies · Started by Daniel on December 14, 2021

Viewing posts 1–4 of 4

Hello GP-Team,

I have an element which I insert into every post (after content).
Now I have a second element that's only inserted when there is a special tag.
But the first one is always on top. How can I change that?
Screenshot

Best, Daniel

Hi there,

when you select the Hook, below that is a Priority field. By default the priority is 10. You can change the priority of the hook to change when it is fired and the order the content is displayed.

If for example you set the Priority to 5 it will display before the hook that has a priority of 10.
Or if you set it to 20 it will display after the default priority.

Yes David, that worked! Thanks a lot. Wish you a happy new year in advance!

You're welcome and you too!!

This archived topic is closed to new replies.