This is related to another plugin or your theme. The produced HTML of the testimonials entries is correct. However, there’s a clearfix
class appended to the testimonial div wrapper.
I suspect this is happening because get_post_class
is now used to apply class details like post-1112 testimonials-widget type-testimonials-widget status-publish hentry testimonialswidget_testimonial clearfix
and post-1114 testimonials-widget type-testimonials-widget status-publish hentry testimonialswidget_testimonial testimonialswidget_display_none clearfix
.
There’s a filter post_class
being used to append this. That filter should be modified to ignore ‘post_type’ Testimonials_Widget::pt
.
You could alternately modify your CSS and try…
html[xmlns] .testimonialswidget_display_none .clearfix {
display: none;
}
Good luck!
Hi Adam,
I had the exact same problem. I just copied and pasted the following into my style.css (taken from the testimonials-widget.css) and the testimonials did not show up as a list anymore but as individual testimonials:
.testimonialswidget_testimonials .testimonialswidget_active {
/* active testimonials */
display: block;
}
.testimonialswidget_testimonials .testimonialswidget_display_none {
/* staged testimonials */
display: none;
}
Hey Guys,
Thanks for the replies, I’ve tried appending both your suggestions to my style.css file, and that didn’t help.
Michael, how would I go about making the changes you suggested:
That filter should be modified to ignore ‘post_type’ Testimonials_Widget::pt.
Cheers,
Adam
What’s the URL to see the problem?