• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

integration wp plugin «Strong Testimonials»

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › integration wp plugin «Strong Testimonials»

This topic is: not resolved

Tagged: strong testimonials, testimonial

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by Tom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 30, 2016 at 12:43 pm #184742
    dkomov
    Member

    Good day to all!

    I use in a project, a plugin Strong Testimonials that I was completely satisfied. But there is a problem with displaying each comment in the singular.

    On the plugin support page the author gives recommendations to address this problem - but this code does not work on pages such as single-testimonial.php

    Prompt, plz, in which part of the documentation of Genesis to watch. ...
    or with such questions is not necessary to the forum, and here http://my.studiopress.com/help/ ?

    Thank you in advance

    p.s.
    Forgive me for my english ...

    May 8, 2016 at 2:23 pm #185213
    Tom
    Participant

    Hi,
    To allow comments to be entered and displayed for Strong Testimonials requires one line of code in Genesis, added to functions.php.:(This uses the standard output for single testimonials, no custom template.)

    add_post_type_support( 'wpm-testimonial', 'comments' );

    New testimonials will have comments enabled automatically. For existing testimonials, each must be edited to enable comments by selecting/checking "Allow comments." in the Discussion panel of the post editor.

    To add single-post-navigation across testimonials, add the following code to functions.php:

     
    // Add single post nav for WPM single testimonial posts.
    // https://wpbeaches.com/add-custom-post-type-navigation-links-in-genesis/
    add_action( 'genesis_entry_footer', 'wpb_prev_next_post_nav_cpt' );
    function wpb_prev_next_post_nav_cpt() {
        if ( ! is_singular( 'wpm-testimonial' ) )
            return;
        genesis_markup( array(
            'html5'   => '<div %s>',
            'xhtml'   => '<div class="navigation">',
            'context' => 'adjacent-entry-pagination',
        ) );
        echo '<div class="pagination-previous alignleft">';
        previous_post_link();
        echo '</div>';
        echo '<div class="pagination-next alignright">';
        next_post_link();
        echo '</div>';
        echo '</div>';
    }
    


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 8, 2016 at 2:31 pm #185217
    Tom
    Participant

    2nd post attempt

    To allow comments to be entered and displayed for Strong Testimonials requires one line of code in Genesis, added to functions.php.:(This uses the standard output for single testimonials, no custom template.)
    add_post_type_support( 'wpm-testimonial', 'comments' );

    New testimonials will have comments enabled automatically. For existing testimonials, each must be edited to enable comments by selecting/checking "Allow comments." in the Discussion panel of the post editor.

    To add single-post-navigation across testimonials, add the following code to functions.php:

    
    // Add single post nav for WPM single testimonial posts.
    // https://wpbeaches.com/add-custom-post-type-navigation-links-in-genesis/
    add_action( 'genesis_entry_footer', 'wpb_prev_next_post_nav_cpt' );
    function wpb_prev_next_post_nav_cpt() {
        if ( ! is_singular( 'wpm-testimonial' ) )
            return;
        genesis_markup( array(
            'html5'   => '<div %s>',
            'xhtml'   => '<div class="navigation">',
            'context' => 'adjacent-entry-pagination',
        ) );
        echo '<div class="pagination-previous alignleft">';
        previous_post_link();
        echo '</div>';
        echo '<div class="pagination-next alignright">';
        next_post_link();
        echo '</div>';
        echo '</div>';
    }
    

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble