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 WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

posts showing raw code for categories and related posts after site migration

  • I just migrated my site to a new host, and while all seems ok in testing otherwise, the single posts pages show some raw code above and below the post content, e.g.

    term_id ) ) . ‘” alt=”‘ . esc_attr( sprintf( __( ‘View all posts in %s’, ‘textdomain’ ), $category->name ) ) . ‘”>’ . esc_html( $category->name ) . ” . $separator; } echo trim( $output, $separator ); } the_title( ‘
    ‘, ‘
    ‘ ); if ( has_excerpt() ) : // Only show custom excerpts not autoexcerpts ?>

    Not sure if I have a corrupt theme or code or child theme?

    Thanks

  • Hi there,

    If you swtich to the parent theme, do you still see it?

    And you can also try disablling all plugins to test as well.

    Let me know how it goes.

  • Thanks Ying, themes made no difference but disabling GP Premium did remove the code. I renamed the plugin and uploaded a new copy but the problem returned. Thoughts?

    Thanks

    Dave

  • For now, I have removed the elements from the post pages but would like a solution if we can think of one. Thanks for your prompt response and support

  • Activate GP Premium, then go to appearance > generatepress, disable all premium modules. Is the issue fixed?

    If so, enable the modules one at a time to see which one is causing the issue. I guess it’s the Elements.

    If so, disable all elements, if the issue is gone, enable elements one at a time to see which element is the cause.

  • Thanks, it was two of the elements for single posts, I took them out of display rules and it’s OK.
    Dave

  • Glad to hear that 🙂

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