Viewing 6 replies - 1 through 6 (of 6 total)
  • anonymized-13171256

    (@anonymized-13171256)

    No, but there are examples in wp-content/plugins/strong-testimonials/templates/theme/testimonials.php.

    Thread Starter AME Network

    (@ame-network)

    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)

    I misunderstood.

    Simply use 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

    (@ame-network)

    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)

    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

    (@ame-network)

    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.