[Resolved] Full-Width Call to Action on All Posts

Home Forums Support Full-Width Call to Action on All Posts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1334603
    Connor R

    Hi there,

    As I am working on migrating from Divi, I have a full-width call-to-action with a background image that I would like to appear on all posts.

    I understand how I could make this using GenerateBlocks, but I am not sure how I could get something like this to appear automatically on every post. The URL is a sample post that shows what I am trying to achieve.

    Thanks in advance for the help!

    #1334695
    Connor R

    For further clarity, I have created a reusable block. Is there a way to add this to every post?

    Also, if I delete the draft post where I created the reusable block, will it also delete the reusable block?

    #1334743
    Leo
    Staff
    Customer Support

    Hi Connor,

    Is there a way to add this to every post?

    Unfortunately not yet. You’d need to use a hook to add something to all posts:
    https://docs.generatepress.com/article/hooks-element-overview/

    Unfortunately the hook element editor isn’t Gutenberg compatible right now so GB cannot be used.

    We are activately working on making Elements Gutenberg compatible. Should have some exciting news soon 🙂

    Also, if I delete the draft post where I created the reusable block, will it also delete the reusable block?

    I don’t think so but not 100% sure.

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