Plugin Contributor
Lap
(@lapzor)
Hi,
I do not see any product rating on the homepage. Maybe just overlooking it. Could you please give me some more detail where I should see the problem or else send me a screenshot?
Are you sure BR tags are added, or do you just mean that there is spacing or something goes to a new line that shouldn’t (css conflict)?
Hey Lap,
Thanks for your response. I just realized I could have added a screenshot. My bad. that would have been helpful I’m sure. Anyway, I have attached a screenshot now. The spacing above the images is being caused by the br tags that are being added.
Yes, they’re added. The weren’t there until I added and activated the plugin and they are no longer added once I disable the plugin.
Again, thank you for your help.
Plugin Contributor
Lap
(@lapzor)
And could you now please turn off the MC4WP plugin and leave all others on and let me test again?
By the way, we have seen similar problem before that was caused by a page builder, not by our plugin.
I have disabled MC4WP. Interesting. I am using Site origins page builder however, I wonder why that would happen.
Hi Dan,
Can you please try adding the following snippet of code to your site (your theme its functions.php
would be a good place for this) and then re-activating the MailChimp for WordPress plugin to see if the problem persists?
add_action( 'init', function() {
remove_filter( 'widget_text', 'shortcode_unautop' );
}, 1);
We feel like this may have something to do with the wpautop
function in WordPress and the way we allow to use our shortcode in a regular text widget.
If the problem with that snippet does not occur, then we know where it’s coming from!
Hello Dan,
Thanks for the code snippet. I added it to my functions file and activated the plugin, however, the bug is still occurring. Interestingly enough, the issue continues even when I don’t have the form displayed on the site. I don’t know if that’s helpful or not, nevertheless, I thought I’d let you know.
Hi Dan,
Hmm, that is strange. Do you know which plugin is responsible for the “ratings” HTML output as shown in your screenshot? I’d love to take a closer look.
Hey you haven’t responded to this ticket, so I’m marking this as resolved. Please do let us know if you’re still experiencing an issue.