• Resolved eznetmarketing

    (@eznetmarketing)


    Hello, Im using your plugin and it’s awesome. I would like to ask you, is it possible to set a better slider through shortcodes?

    I mean with arrows and slide effect, it’s more user friendly for the visitors. Im using Elementor that uses the Swiper JS library, maybe it would be nice to add such a support also for your plugin.

    Otherwise, can you tell me please where are stored the reviews and if they are a Custom Post Type so I can create a custom Loop and display the reviews through Elementor’s slide feature. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @eznetmarketing Thanks for your suggestion.

    I do intend to add some new carousel/slider functions such as before/next navigation and slide transitions.

    In the meantime, you can place individual reviews into another slider – use the following Shortcodes (or something similar to this):

    [slider_plugin]
    [slide][reviews_rating summary=false limit=1 offset=0][/slide]
    [slide][reviews_rating summary=false limit=1 offset=1][/slide]
    ...
    
    [slide][reviews_rating summary=false limit=1 offset=19][/slide]
    [/slider_plugin]

    You can get review data by reading the following entry in the wp_options table: google_business_reviews_rating_reviews.

    In PHP, use:

    <?php
    
    $reviews = get_option('google_business_reviews_rating_reviews');
    
    foreach ($reviews as $review)
    {
        $rating = $review['rating'];
        $timestamp = $review['time'];
        $relative_time_description = $review['relative_time_description'];
        $text = $review['text'];
        $author_name = $review['author_name'];
        $author_url = $review['author_url'];
        $avatar = $review['profile_photo_url'];
    
        // Do things
    }

    If you have any specific examples that you wish to share, please feel free to reply or contact me directly through the support link.

    Thread Starter eznetmarketing

    (@eznetmarketing)

    I finally succeeded in making the slides according to the valuable directions you provided. However, now I was wondering if it was compatible with WPML for translate the reviews. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Better Slider’ is closed to new replies.