Support » Plugin: BNE Testimonials » Reposition name/website below testimonial in list layout?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kerry

    (@bluenotes)

    Hi Gretchen,

    Not in the free version of the plugin. The Pro has additional options for layout, theme style, and arrangement of the testimonial. In addition, there are a hooks available to completely re-arrange the testimonial on the dev level that I can help with if you don’t know PHP.

    Thread Starter Gretchen Louise

    (@gretchenlouise)

    @bluenotes thank you for the quick response! Are the hooks available to use with the free version?

    Plugin Author Kerry

    (@bluenotes)

    Not all of them, but you can basically use the following:

    
    add_filter( 'bne_testimonials_content', function( $message, $atts ) {
    	$output = $message;
    	$output .= '<div class="testimonial-author author-below">';
    		$output .= bne_testimonials_get_template( 'name', $atts );
    		$output .= bne_testimonials_get_template( 'tagline-website', $atts );
    	$output .= '</div>';
    	return $output;
    }, 10, 2);
    

    And then hide the old placement with CSS:

    
    .testimonial-author:not(.author-below) .testimonial-name,
    .testimonial-author:not(.author-below) .testimonial-website,
    .testimonial-author:not(.author-below) .testimonial-tagline {
        display: none;
    }
    
    Thread Starter Gretchen Louise

    (@gretchenlouise)

    @bluenotes that worked beautifully. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Reposition name/website below testimonial in list layout?’ is closed to new replies.