- This topic has 1 reply, 1 voice, and was last updated 5 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Problem with posts format
Tagged: formatting, posts
After updating the plugin a strange error occurred. Posts with content only for members that closed with tag <!–more–> have extra paragraphs added, and only in the user section and only in the published version (if you watch the post through the “preview in a new tab” there is no problem ).
Through the preview, the code is normal:
</div> <! – .entry-meta ->
</header> <! – .entry-header ->
<div class = “entry-content”>
text text text text
<div class = “wp-block-image”> <figure class = “aligncenter”> </figure> </ div >
But in the published part, for some reason, all “<! – wp: paragraph ->” and so on are displayed in the code, they are formatted as paragraphs:
</div> <! – .entry-meta ->
</header> <! – .entry-header ->
<div class = “entry-content”>
<! – wp: paragraph ->
text text text text text.
<! – / wp: paragraph ->
<! – wp: image {“id”: 1658, “align”: “center”} ->
<div class = “wp-block-image”>
<figure class = “aligncenter”> test </figure> </div>
etc
How to fix this problem?
the problem was with new WP. Add this code in css and it will be fixed
body p:empty:before {
content: none;
}