[Resolved] Inserting Post Title in a Block Element

Home Forums Support [Resolved] Inserting Post Title in a Block Element

Home Forums Support Inserting Post Title in a Block Element

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1569674
    Samuel

    Is it possible to insert the post title dynamically in a block element or do I need to create my own shortcode to do this? I assume I need to create a shortcode but I believe dynamic elements are coming either via GPP or GB pro?

    When doing this is there a way to remove the title element GP generates on the post or do I just need to hide it via css?

    Thanks!

    #1569697
    Elvin
    Staff
    Customer Support

    Hi,

    By default, Gutenberg Editor doesn’t have a “Title” block that dynamically displays the text title.

    That said, you either get a plugin that dynamically displays the title, of make a shortcode of similar purpose.

    When doing this is there a way to remove the title element GP generates on the post or do I just need to hide it via css?

    You can use the “Disable Element” feature of GP Premium for this:
    https://docs.generatepress.com/article/disable-elements-overview/

    You can also use the Layout Element which also uses the Disable Element module.
    https://docs.generatepress.com/article/layout-element-overview/

    A wise man once said:
    "Have you cleared your cache?"

    #1569792
    Samuel

    thank you!

    #1569822
    Elvin
    Staff
    Customer Support

    thank you!

    No problem. 🙂

    A wise man once said:
    "Have you cleared your cache?"

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