Title: PHP code snippets?
Last modified: August 22, 2016

---

# PHP code snippets?

 *  Resolved [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/)
 * Does the plugin generate **PHP code snippets** for use in theme page/post templates
   as well?
 * Thanks,
 * AME Network
 * [https://wordpress.org/plugins/strong-testimonials/](https://wordpress.org/plugins/strong-testimonials/)

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

 *  anonymized-13171256
 * (@anonymized-13171256)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509343)
 * No, but there are examples in `wp-content/plugins/strong-testimonials/templates/
   theme/testimonials.php`.
 *  Thread Starter [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509380)
 * What do you mean by examples? Can you share an example here of how to correctly
   embed strong-testimonials into a page template?
 * Thanks,
 * AME Network
 *  anonymized-13171256
 * (@anonymized-13171256)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509465)
 * I misunderstood.
 * Simply use [do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode):
 *     ```
       <?php echo do_shortcode( '[strong id="4" title thumbnail no_stylesheet]' ); ?>
       ```
   
 *     ```
       <?php echo do_shortcode( '[strong count="3" excerpt template="strong-excerpt"]' ); ?>
       ```
   
 *     ```
       <?php echo do_shortcode(
       '[strong title thumbnail count=1]
       [client]
       [field name="client_name" class="name"]
       [field name="company_name" url="company_website" class="company" new_tab]
       [/client]
       [/strong]
       '); ?>
       ```
   
 *  Thread Starter [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509476)
 * Yeah, we tried that but just ended up with code text displayed on the front end.
   May be an issue with the theme (soundwave.wizedesign.com) we’re using. Will give
   it another shot. Thanks.
 * AME Network
 *  anonymized-13171256
 * (@anonymized-13171256)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509479)
 * I’d be happy to look into it if you want to send the original theme zip file 
   to chris at wpmission dot com.
 *  Thread Starter [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509484)
 * Thanks, very generous of you. As it turns out, our original idea to embed the
   output in the template files is flawed, due to our theme and the client’s needs.
   We’ll use your shortcodes instead and have much more flexibility in the long 
   run.
 * AWESOME plugin, and quick support. You rock!
 * AME Network

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

The topic ‘PHP code snippets?’ is closed to new replies.

 * ![](https://ps.w.org/strong-testimonials/assets/icon-256x256.png?rev=3134855)
 * [Strong Testimonials](https://wordpress.org/plugins/strong-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/strong-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/strong-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/strong-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/strong-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/strong-testimonials/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [AME Network](https://wordpress.org/support/users/ame-network/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/php-code-snippets/#post-5509484)
 * Status: resolved