Site logo

Archived topic

GenerateBlocks insert with shortcode?

3 replies · Started by lunatrix on May 29, 2021

Viewing posts 1–4 of 4

Can I insert a GB block element with a shortcode?

More specifically, I created an author box following the YouTube tutorial and it looks great. However, I'm using YARPP plugin and the author box shows up after YARPP's Related Posts section. Is it possible to move the author box up? Can this be accomplished with a custom hook?

Hi there,

Can you try setting the priority to 2 for the author box and see if that works?

If not then please check with the YARPP’s Related Posts plugin support to see its content can be added as a shortcode.

That case then you can add both using hooks and control the order using priority.

Perfect! Worked a treat. I used the YARPP shortcode in a Hook Element (after_entry_content) set to priority 5, and an Author Box set to priority 2.

Glad to hear :)

This archived topic is closed to new replies.