Testimonials columns

Home Forums Salamat WordPress Theme Testimonials columns

This topic contains 5 replies, has 2 voices, and was last updated by  ab-themes 7 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17425

    primuswerbung
    Participant

    Hello,

    i have install the demo content. But the testimonials columns don’t looks so good.
    I would like the layout: http://preview.magnior.com/salamat/

    is it an class that i must enter?
    Thank’s for help.

    #17430

    ab-themes
    Keymaster

    Hi,

    this problem can be related with

    line 10 in shortcode.php file
    (you can find that here \wp-content\plugins\ab-testimonials\shortcode.php)

    ‘picture_position’ => ‘picture_top’, is missing.

    Now should all work fine :)

    Kind regards

    #17445

    primuswerbung
    Participant

    Hi,

    i made the change. Unfortunately it does not work.

    #17456

    ab-themes
    Keymaster

    Hi,

    we added quotes to your ab-testimonials.php on line 88 and 106 because for some reason we cannot add testomonial element to test it on your site, and now it’s working fine. But, we still don’t know why picture top option in element don’t use class picture_top, so please send us your FTP credentials so we can access .js files and help you to solve this issue.

    Thank you.

    Kind regards

    #17459

    primuswerbung
    Participant

    Hi, thank you for your help!

    #17465

    ab-themes
    Keymaster

    Hi,

    we added this code to your shortcode.php file

    if($picture_position=='picture_top'){
    	$out.= '
    		<li class="testimonials_item">
    			<div class="'.$type_class.'">
    			<span class="source">' . $author_out . ' ' . $delimiter . ' ' . $company_out . '</span>
    			<p>' . $ABt_testimonial_text . '</p>
    			'.$picture_out.'
    			</div>
    		</li>';
    	} elseif($picture_position=='picture_middle'){
    		$out.= '
    			<li class="testimonials_item">
    				<div class="'.$type_class.'">
    				'.$picture_out.'
    				<span class="source">' . $author_out . ' ' . $delimiter . ' ' . $company_out . '</span>
    				<p>' . $ABt_testimonial_text . '</p>
    				</div>
    			</li>';
    		} elseif($picture_position=='testimonials_big'){
    			$out.= '
    				<li class="testimonials_item">
    					<div class="'.$type_class.'">
    						<p>' . $ABt_testimonial_text . '</p>
    						'.$picture_out.'
    						<span class="source">' . $author_out . ' ' . $delimiter . ' ' . $company_out . '</span>
    					</div>
    				</li>';
    			} else{

    and now all should be works fine :)

    Kind regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Testimonials columns’ is closed to new replies.