Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Cosmick Technologies

    (@cosmick)

    Hello katalintamas,

    Thank You for your feedback ??

    Unfortunately we don’t have such shortcode to display all reviews. But there are couple of alternatives that you can try.

    You may use https://szuppi.hu/reviews/ this page to list all of your reviews. You can add the form by placing <?php csr_add_rating(); ?> in your archive-reviews.php under your template folder.

    Or

    $REVIEW_QUERY = new WP_Query(array('post_type' => 'reviews', 'posts_per_page' => '-1'));
    
    if ($REVIEW_QUERY->have_posts()) :
      while ($REVIEW_QUERY->have_posts()) :
          $REVIEW_QUERY->the_post();
    ?>
    <div class="panel panel-primary">
     <div class="panel-heading">
      <h3 class="panel-title"><?php the_title(); ?></h3>
     </div>
     <div class="panel-body">
      <p><?php the_content(); ?></p>
     </div>
    </div>
    <?php
      endwhile;
    endif;
    ?>

    Create a page template for your page and place the above query on your custom template(You may need to reset the query).

    Let us know if you need any help.

    Thanks & Regards
    Cosmick

    Thread Starter katalintamas

    (@katalintamas)

    Cear Cosmick,

    thank you very much for your quick answer.

    I think I would be able to do the first recommended solution myself although I am not a programmer (“add the form by placing <?php csr_add_rating(); ?> in your archive-reviews.php under your template folder.”)
    However, I do not find archive-reviews.php. Maybe this is the one? wp-content/themes/betheme/template-archives.php. Could you help me with an exact location of that php file?

    Thank you for your kind help in advance.

    Katalin

    Plugin Author Cosmick Technologies

    (@cosmick)

    Hello katalintamas,

    please create a new file archive-reviews.php under your template.

    After that copy and paste the code from your archive.php.

    Then add <?php csr_add_rating(); ?> wherever you want to display the form.

    Hope this is clear to you.

    If you still have doubts on how to implement it. Feel free to contact us Here with the details. We will take a look ??

    Thanks & Regards
    Cosmick

    Thread Starter katalintamas

    (@katalintamas)

    Hi Cosmick,
    I have sent you a message with the details.
    Thank you very much for your kind help in advance: Katalin

    Thread Starter katalintamas

    (@katalintamas)

    Hey Cosmick,
    finally we managed to solve the problem hiring a programmer. Thank you for the plugin!
    All the best: Katalin

    Plugin Author Cosmick Technologies

    (@cosmick)

    Dear katalintamas,

    We are really sorry.

    We couldn’t jump to your issue, we are having very busy working schedule since then.

    Glad you sorted the problem.

    Thanks & Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcode for latest reviews’ is closed to new replies.