Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jurez123

    (@jurez123)

    Hi Blaz, I actually managed to solve this issue now.:D
    I’ve figured out that the AJAX would indeed be a problem here. That’s why I tried to find out where the stuff that’s outside of the loop gets called back in. I’m no expert in this, so excuse my lack of proper terminology!

    I went in the file ajax-handlers.php and added a new line of code:
    ‘reviews’ => do_shortcode(‘[ratemypost-result id=”‘.$post->ID.'”]’),

    and inserted it back in the template php file with
    data.reviews

    That worked like a charm.Thank you for the fast response!

    Kind Regards,
    Jure

Viewing 1 replies (of 1 total)