WordPress.org

Forums

WP-PostRatings
[resolved] Vote images in a gallery possible? (4 posts)

  1. z4m3
    Member
    Posted 1 year ago #

    Hello,

    I wonder if voting images in a wp native gallery is possible with this plugin. Thanks.

    https://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    I have not tested it, but it should be possible, you can try and let me know.

  3. z4m3
    Member
    Posted 1 year ago #

    I tried but dont know how to add vote to single images in a post gallery (wp native). Would be nice if you can tell me how.

    Theoretically an image is also a 'post', as attachment type. I put the code under each image but it vote only the post.

  4. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    I just checked the code and I am wrong, it will not work with attachment type and post type together , the plugin uses get_post_meta() which internally in WP refers to just 'post' type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.