[Resolved] Is it possible to add a Gutenberg block at the end of every blog post?

Home Forums Support [Resolved] Is it possible to add a Gutenberg block at the end of every blog post?

Home Forums Support Is it possible to add a Gutenberg block at the end of every blog post?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1279454
    Kim

    I’d love to hook in UAG’s post carousel to the end of every blog post, but it’s looking a little tricky as things stand.

    Feels like there must be a better way than manually adding the block at the end of every post?

    I’m comfortable editing PHP templates if necessary?

    Thanks for your help!

    #1279662
    Leo
    Staff
    Customer Support

    Hi there,

    I don’t think that’s possible unfortunately.

    Not sure what UAG’s post carousel is but if you can turn it into a shortcode then you can use the hook element to insert it:
    https://docs.generatepress.com/article/hooks-element-overview/

    #1280392
    Kim

    Hey Leo,

    Thanks for the reply.

    I’ll have a look into creating a shortcode for the block.

    All the best.

    #1281350
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.