• Resolved Joanne

    (@bluejpro)


    Hi and thank you for the great testimonial plugin
    I love how you can pick the one you want from the widget!

    My question: What if I am not using the Client Name and Company Name fields? I want to suppress the comma.

    what conditional would test for whether there is data?

    // conditional test here - if client and company have data, do this
                    <h5>
    
    				<?php echo $this->client; ?>,<br /><?php echo $this->company; ?>
    
    				<?php if( testimonial_has_permission( $this->ID ) ): ?>
    				<?php echo sprintf( '<br />Web: <a href="%s">%s</a>,<br />Email: <a href="mailto:%s">%s</a>', $this->website, $this->website, $this->email, $this->email ); ?>
    				<?php endif; ?>
    
    			</h5>

    http://ww.wp.xz.cn/plugins/clean-testimonials/

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

    (@hellolukerollansme)

    Hey bluejpro,

    The plugin doesn’t currently support this feature natively, but I agree it will be a good one to have. I will release an update within 24 hours to take care of this.

    If you have any further feedback, please feel free to post!

    Thanks.

    Thread Starter Joanne

    (@bluejpro)

    Hey Luke, thanks. I appreciate it! I look forward to your update.

    Thread Starter Joanne

    (@bluejpro)

    Marking resolved 🙂

    Plugin Author lukerollans

    (@hellolukerollansme)

    Hi bluejpro,

    This fix will be uploaded in version 1.2.5 momentarily.

    If you have found the plugin useful, please consider taking a moment to rate it accordingly 🙂

    Thank you!

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

The topic ‘Simple Testimonials, test for no client name’ is closed to new replies.