Post content is repeated twice (theme incompatibility)
-
Hello,
I have been testing this plugin a bit. Post locking and shortcodes are working fine ??
However, when a full post is restricted, I see in my post:
1. excerpt + “join” button: OK
2. instead of my page footer, the excerpt + join button is again repeated at the bottom of my page. There is no footer anymore -> very ugly page.Root cause: my theme (from Bold Themes) is using “the_content” also to display the (complex) footer. So you have twice the content. I guess that in your code you replace the content each time, so also for my footer ??
Request: replace only the content of the main query. There are some functions available to test if you are in the main loop or not (is_main_query, is_singular).
I can beta test a fix if you like.
Many thanks.
Didier.
- The topic ‘Post content is repeated twice (theme incompatibility)’ is closed to new replies.