WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Multiple Testimonials Showing (5 posts)

  1. Adam Chahl
    Member
    Posted 1 year ago #

    HI Guys,

    Great plugin!

    Since i've updated, I notice that on some pages on my site, all of my entered testimonials are showing in one column.

    http://www.thevancouverrealestate.ca/sale/v986359/

    I have tried removing the widget and re-placing it in the footer to no avail.

    Anyone else having this problem or have a solution?

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. miellen
    Member
    Posted 1 year ago #

    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;
    }
  4. Adam Chahl
    Member
    Posted 1 year ago #

    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

  5. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    What's the URL to see the problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.