• Resolved j2j2

    (@j2j2)


    I am using insert pages to insert the “content” of another page. This is a test website with default Gutenify Hustle theme content using Gutenberg blocks.

    The test page with the insert pages block has only that one block, and only the “content” of the original page is being brought in.

    The entire web page is being duplicated from header-content-footer, as you scroll down the page, the entire header-content-footer is repeated below. Using WP 6.1.1.

    Any ideas what is causing this? Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul Ryan

    (@figureone)

    It’s possible that the Gutenify Hustle theme is rendering the header and footer in a filter for the_content so when the inserted page is rendered, those are re-rendered. I wasn’t able to reproduce with the free Gutenify Hustle theme, so it’s possibly something in the companion plugin (which is not free so we are not able to test).

    If you inspect the source, the inserted page is only rendering a wrapper div and the “Some test content” paragraph, so it’s hard to say what is triggering the duplicate render of header/footer:

    <div data-post-id="235" class="insert-page insert-page-235 ">
      <p>Some test content.</p>
    </div>

    A couple things to try:

    • In Dashboard > Settings > Insert Pages, try switching between “legacy” and “normal” render modes and see if anything changes.
    • In Dashboard > Settings > Insert Pages, try switching to the inline wrapper (span) instead of block wrapper (div).
    Thread Starter j2j2

    (@j2j2)

    Hi Paul, Thank you kindly for your help. I tested those things you mentioned and I discovered the issue was unrelated to the Insert Pages plugin, but that I had caused a problem with the core WordPress code so I reinstalled that and all is working correctly now. Sorry for the confusion.

    Plugin Author Paul Ryan

    (@figureone)

    Great, glad you tracked down the problem. Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Entire Page is duplicating’ is closed to new replies.