[Resolved] Can I call/use a reusable block in a hook?

Home Forums Support Can I call/use a reusable block in a hook?

  • This topic has 2 replies, 2 voices, and was last updated 4 months ago by David.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1294718
    Dajuan

    I want content to be appended to blog posts depending on their category. Are hooks the best way to accomplish this and can I call/use a reusable block in such a hook? Or is there a better method?

    For example, via the link I shared, I want the “ARE YOU PLANNING YOUR WEDDING DAY?” section to appear on all blog posts within a wedding category.

    Note: The link example is not GeneratePress, but rather the theme I’m planning to migrate from.

    #1294766
    Dajuan

    Just heard from Tom this will doable in GPP 1.11.0.

    Happy dance!

    #1294898
    David
    Staff
    Customer Support

    Thats correct 🙂 Have a good day

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