Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #35109

    If I preview (or publish then view) the main page of my website, it appears that the entirety of the page’s contents are duplicated. That is, the two blocks of content are repeated, so the live view looks like:
    – Block1
    – Block2
    – Block1
    – Block2

    However, when I open the page editor, and review the page contents in “visual” mode, there does not appear to be any duplicated blocks. In the editor mode, I see:
    – Block1
    – Block2

    I was wondering why a page’s contents would be duplicated, and what kind of steps I might take to troubleshoot the issue.

    Thank you

    Jesse Owens

    Hi Devon-

    Thanks for the excellent question, and thanks for using the Post and Page Builder Plugin.

    I have to say I’ve never seen this issue before, it’s really quite strange. The duplicate blocks look practically identical, except that the second “copy” has some evidence that those blocks were edited using the WordPress “Gutenberg” Editor- the second group is surrounded by Gutenberg-style HTML comments. Do you recall switching between the two editors when you were working on this page?

    One thing you might be able to do to troubleshoot is to switch over to the Text Editor tab. If my suspicion is right, you’ll be able to see the code for your duplicate blocks.

    Use the Ctrl-F (Cmd-F on Mac) to search for the first Gutenberg-style comment, <!-- wp:column {"width":"100%"} -->
    If you can find the line that contains that text, delete that and everything below it.

    Another possible way to troubleshoot is to browse the Revision History. Look for the revisions in your Publish box. Browsing through these, you may be able to find a revision from before the duplication.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Removing duplicate blocks of content from live site’ is closed to new replies.