Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Patterns with duplicate IDs

  • Hello,

    I think I’ve encountered a bug.

    If I insert a pattern BEFORE the same pattern (with original IDs), it won’t regenerate new class IDs.
    So both patterns will have the same IDs as the original pattern and it will reset custom styling until the new pattern is removed.

    I can replicate this on multiple test sites with different WP versions.

    Pettern IDs

  • Hi there,

    You can duplicate the pattern to generate a new set of IDs and remove the original pattern then.

    Let me know if this helps!

  • I sure can, but do you think it’s a good experience for my client?

  • What version of GB and GB pro are you using?

    This issue should’ve been fixed already, so even if you add the same pattern to the same page, it should generate new ids for the new blocks.

    Let me know!

  • I’m using GB 1.7.3 and GBP 1.5.2.

    This behavior is easy to replicate:

    • insert a pattern
    • choose “insert before”
    • insert same pattern again

    You can keep going and all of those patterns will have the same classes as the original.

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