Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jonkratz

    (@jonkratz)

    Since this thread is about dynamic height, to enable Cycle2’s dynamic height which resizes for each testimonial, your addition to the functions.php file in your theme would be:

    function testimonial_rotator_set_height( $args ) { return "container"; }
    add_filter( 'testimonial_rotator_calc', 'testimonial_rotator_set_height' );
    add_filter( 'testimonial_rotator_widget_calc', 'testimonial_rotator_set_height' );

    Hope that this helps someone!

    Thread Starter jonkratz

    (@jonkratz)

    Hi jcpenrose83, I was just going to reply that I don’t know about the filter but then I saw in the change log that it looks like the developer added it yesterday!

    1.4
    Use shortcode to display testimonials from all rotators by not passing in an 'id' attribute
    Completed preparation for translation, wrapped all text in __()
    Two new filters for the 'supports' section of the register_post_type: testimonial_rotator_supports and testimonial_rotator_testimonial_supports
    Two new filters for auto-height 'calc': testimonial_rotator_calc and testimonial_rotator_widget_fx

    Thanks for the update!

Viewing 2 replies - 1 through 2 (of 2 total)