• Hi,

    Great job for “Rate my post” plugin !

    I use “Timber” (twig for WP) plugin and “Custom Post Types” plugin and I don’t manage to use RMP plugin.

    I’m trying to create a video contest with a vote system. A list with all videos and their result, and a modal for each video with the possibility to vote.

    But I have a problem. I use the shortcode in my Timber loop and I only got one result and one vote system in my first modal.

    Can I use a custom post ID to diplay all results in the same page and the vote system in each modal ?

    • This topic was modified 4 years, 10 months ago by mdrick.
    • This topic was modified 4 years, 10 months ago by mdrick.
    • This topic was modified 4 years, 10 months ago by mdrick.
Viewing 1 replies (of 1 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @wicko77,

    the rating and results widget are initialized on page load and thus they unfortunately don’t work when displayed in a modal or for example with infinite scroll plugins. That’s something I have on to-do list to fix but I have been a bit short on time lately 🙂 So, at the moment it’s unfortunately not possible to have more than one rating widget on a single page/post.

    More than one results can be shown on a single page but you need to use get visual rating method in the template.

    
    Rate_My_Post_Public_Helper::get_visual_rating( $postID ); 
    

    More about this here: https://wordpress.org/support/topic/developers-developer-features/

    Thanks for understanding.

    Regards,
    Blaz

Viewing 1 replies (of 1 total)
  • The topic ‘“Custom Post Types” and “Timber”’ is closed to new replies.