<?php $loop = new WP_Query( array(
'post_type' => 'testimonials',
'posts_per_page' => 1,
'orderby' => 'rand' ) );
?>
<?php while( $loop->have_posts() ) : $loop->the_post(); ?>
<div class="quote_bubble"><?php the_content(); ?></div>
<div class="speech_bubble_credit"><?php the_field('testimonial_name'); ?><br />
<?php the_field('testimonial_job_company'); ?>, <?php the_field('testimonial_company'); ?></div>
<?php endwhile; wp_reset_query(); ?>
ASKER
ASKER
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY