WordPress.org

Ready to get started?Download WordPress

Forums

IvyCat AJAX Testimonials
Widget not wrapped with before/after widget (4 posts)

  1. freshmint
    Member
    Posted 1 year ago #

    I've found that the widget is not being wrapped by the before/after_widget functions so it wont be styled using the code set up in in functions php. I was able to fix the problem by making the following changes.

    In /lib/IvyCatTestimonialsWidget.php change line 104 from:
    echo IvyCatTestimonials::do_testimonials( $atts );
    to:

    echo $args[ 'before_widget' ];
    echo IvyCatTestimonials::do_testimonials( $atts );
    echo $args[ 'after_widget' ];

    Also noticed that before/after_title are not working either. tried a couple of different fixes with no luck... just for reference this is what I tried...

    1. changing line 94 from:
    'title' => $title ,
    to:
    'title' => $before_title . $title . $after_title,

    2. commenting out $title from the $args array and adding
    if ( $title) echo $before_title . $title . $after_title;
    after echo $before_widget;

    Any ideas?

    http://wordpress.org/extend/plugins/ivycat-ajax-testimonials/

  2. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey freshmint,

    Thanks for reporting this; you're right!

    So, we're just about to release an update to the Testimonials plugin that adds a new feature and we'll look at this and incorporate any changes needed too.

    We plan to release the next version of the plugin, 1.4.0 by April 13th. :) Let me know if you're interested in testing it out in the meantime.

    ---
    Eric Amundson

  3. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey freshmint,

    Quick update: I've fixed both of these issues in the plugin and it's currently up on our GitHub account at:

    https://github.com/ivycat/IvyCat-Ajax-Testimonials

    I'll be doing some testing and plan to release v 1.4.0 tomorrow, barring any unforeseen issues.

    Cheers,
    Eric

  4. AuntiAlias
    Member
    Posted 1 year ago #

    Eric--

    Is 1.4 "released" yet? I got the update from github, but having originally downloaded it from wordpress org, the plugins page of my site says that with 1.3.5, I'm all up to date.

    P.S. the changelog on github doesn't mention the changes to before and after widget item you fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic