-
djsilverfox
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.
-
djsilverfox
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
-
djsilverfox
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.
-
djsilverfox
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 🙂
- You must be logged in to reply to this topic.