• This Site Reviews plugin is amazing! I was shopping around for premium product review plugins, but all of them seemed to fall short in mastering the core business requirement — user reviews. The plugin is very robust, was easy to integrate into my custom built theme, and the author responded to every question I had in less than 12 hours. I’m adding some tips below that other developer’s may find helpful.

    TIP #1: Shortcodes In Page Templates
    Use the do_shortcode() function to run the plugin’s shortcode from within a custom page template.
    <?php echo do_shortcode('[site_reviews_summary assigned_to="post_id"]'); ?>

    TIP #2: Hide Site Reviews When Plugin Deactivated
    I recommend using the is_plugin_active() function to automatically hide your site reviews if you ever need to deactivate the Site Reviews plugin.

    <?php if(is_plugin_active('site-reviews/site-reviews.php')) : ?>
        <!-- insert your custom code here -->
    <?php endif; ?>

    TIP #3: Styling User Review Titles
    Use the following CSS class if you want to customize the look of titles for user reviews.
    .glsr-review-title h3 {}

    • This topic was modified 5 years, 10 months ago by jerryrcole.
    • This topic was modified 5 years, 10 months ago by jerryrcole.
  • The topic ‘Simple Yet Sophisticated’ is closed to new replies.