WordPress.org

Support

Support » Plugins and Hacks » IvyCat AJAX Testimonials » Widget not wrapped with before/after widget

Widget not wrapped with before/after widget

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric Amundson

    @sewmyheadon

    Volunteer Moderator

    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

    Plugin Author Eric Amundson

    @sewmyheadon

    Volunteer Moderator

    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

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget not wrapped with before/after widget’ is closed to new replies.
Skip to toolbar