Okay
  Public Ticket #936662
Randomizing Testimonials
Closed

Comments

  •  2
    randyhereman started the conversation

    Hi there,

    is there a way to randomize the testimonials? I can't find this option and they always display exactly the same.. i would like to show more then the last 4.. Especially when ive got 200+ testimonials.


    THx

  •  2,010
    Ocean replied

    Hi, can't random testimonial. it's display the lastest testimonials. 

    In OT Testimonial setting, you can select number show testimonial. you can input: -1 to shoa all.

    follow: http://www.awesomescreenshot.com/image/1767125/25e3acf007bdf4c3c50f50f1622c422b

  •  2
    randyhereman replied

    I know that, but it only shows the last 4.. I want it to randomly pick testimonials from the database, each time. Not always show the same, in the same location.

    And second question, if I post -1.. wil it have multiple pages if I would have 1000 testimonials?

  •  2,010
    Ocean replied

    Hi,

    Testimonial random: you can change code

    open file theme/mentor/shortcodes.php then find "testimonial-masonry" and change

    $args = array(
                    'post_type' => 'testimonial',
                    'posts_per_page' => $number,
                );

    to 

    $args = array(
                    'post_type' => 'testimonial',
                    'posts_per_page' => $number,
                    'orderby'=>'rand',
                    'order'=>'rand',                );


  •  2
    randyhereman replied

    Awesome! got it working! 

    What are the categories for?

    Could I have two categories; 1) Testimonials, 2) quotes.

    Then put style 1 with category 1 and style 2 with category 2? Cant seem to find much info about testimonials.

    thanks for responding so fast! I also bought the paying module/add-on for bookings. but they don't respond to their tickets in over 35 hours already. Only waiting for them to respond to go live with my site. Maybe you know the answer:

    When i want to pay, it shows a dutch language at the checkout, pay confirmation and the email received. I want it to be in english OR in 2 languages.. But if its only possible in 1 language, it has to be english. 

  •  2,010
    Ocean replied

    Hi,

    categories: this is custom. you need have to pay me, if you want this.

    booking, you can send me some screenshot your issue.

  •  2
    randyhereman replied

    Okay, so how would i randomize the single line quotes? The one with picture + quote + name, randomize. But the quote + name w.o picture. Always show the exact same.

    Bookings, the only problem is that I need all the templates to be shown in English, not in Dutch like they are now. All check-out, payment etc. needs to be shown in English.

  •  2,010
    Ocean replied

    Hi,

    testimonial. you can send me some screenshot about your isue.

    2. booked appointment. you can use  loco translate plugin

    read more here: https://boxystudio.ticksy.com/article/3235/