Site logo

[Support request] How to insert a container within a post

Home Forums Support [Support request] How to insert a container within a post

Home Forums Support How to insert a container within a post

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #2171976
    robchanoi

    Thanks – pls see code area.

    #2172024
    Fernando
    Customer Support

    I’m getting an error when copying and pasting the HTML code: https://share.getcloudapp.com/X6uE9Xp2

    The uniqueID in your HTML seems to be missing. Using the classic editor may have caused this.

    Here’s an example of a valid code from my test website:

    <!-- wp:generateblocks/container {"uniqueId":"a759a875","isDynamic":true,"blockVersion":2} -->
    <!-- wp:generateblocks/headline {"uniqueId":"39936a35"} -->
    <h2 class="gb-headline gb-headline-39936a35 gb-headline-text">Test h2</h2>
    <!-- /wp:generateblocks/headline -->
    <!-- /wp:generateblocks/container -->

    Try removing the Container Blocks code and see how it goes. Example: https://share.getcloudapp.com/KouAZKop

    “Going forward, I’d suggest sticking to just 1 editor (ideally go with Gutenberg) as switching between 2 editors can cause problems as David mentioned.”

    If you’re experiencing a different issue, can you share a specific example of it? (a screen recording and/or screenshot)

    Reference to screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots

    Hope to hear from you soon. 🙂

    #2173104
    robchanoi

    Thanks – that’s fixed it.
    I still want to use GB as it’s great – albeit a bit of a mission doing say a 3k word post if you’re choosing a separate block per paragraph etc – are you saying ditch CG for Gutenberg?

    #2173112
    Fernando
    Customer Support

    You’re welcome! Glad it’s working now.

    You’re correct. To avoid issues like the one experienced, it would be best to use the Gutenberg Block Editor solely.

    Hope this clarifies. 🙂

    #2173130
    robchanoi

    Ah – ok, need both though. Thanks for your help Ferando.

    #2173160
    Fernando
    Customer Support

    You’re welcome Robchanoi! Feel free to reach out anytime you’ll need assistance with anything else. 🙂

Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.