WordPress Gallery Voting plugin

Description

Simply let users vote/like photos/images in your WordPress galleries.

This is a free plugin and is licensed under the terms of the GPL license. There is no cost charged, all the source code is provided and you may modify the Gallery Voting plugin according to your needs.

System Requirements

  • WordPress 3.8 or higher

 

Quick Start

Installation

  • Download the WordPress Gallery Voting plugin on WordPress.org.
  • Go to Plugins > Add New Plugin in your WordPress dashboard and click on Upload Plugin.
  • Click on Browse and search for this .zip on your computer and add it.
  • Click Install Now to install it, and then activate it after the installation.
  • Or, search for gallery voting in Plugins > Add New Plugin and install/activate it from there.
  • Or, to manually install it, unzip the above downloaded file and upload gallery-voting folder to the /wp-content/plugins/ directory.

Activation

  • Go to ‘Plugins’ in your WordPress dashboard.
  • Go to the Gallery Voting plugin and click the ‘Activate’ link.

 

Usage

  • Installing and activating this plugin will place a vote/like link and a vote count below each photo of all WordPress image/photo galleries using the [gallery] shortcode.
  • Go to an existing WordPress image/photo gallery to see the vote/like links below each photo.

Settings:

  • Users Allowed To Vote: You can configure it so that only logged-in users can vote or all guest users.
  • Max Votes: Configure the number of max votes you want to allow per user.
  • Tracking: The way to track if someone has voted can be based on the IP address of the user, browser cookie of the user, or, if Users Allowed To Vote is set to Logged-In Only, on the user ID. If it’s set to User ID, then that would prevent users from being able to bypass voting restrictions when they clear their browser cookies or change their IP address (but it would require them to be logged in for this to work).
  • Enable Unvoting: If you enable this setting, users can retract their votes.
  • Reset All Votes: If you want to reset the counters to zero (0) for any reason, click the Reset Votes button. This resets all votes for all images to zero and clears the stored IP addresses and user IDs, and bypasses the browser cookies, enabling users to vote again. A confirmation prompt appears when clicked.
  • Custom CSS: Add your own custom CSS to change the style and colors.
    • Here’s a tip: If you want to remove the voting icon from other galleries, you can do that by using CSS. To achieve that, you can hide voting from every gallery first, and then show it on the gallery you want. You need to find the gallery ID using your Internet browser’s developer console and then replace the ID below with the one you found. Use the below CSS example:
      /* Hide voting from every gallery */
      .gallery-item > p {display: none;}
      /* Show voting on gallery 1 only */
      #gallery-1 .gallery-item > p {display: block;}

 

Release Notes

  • 1.3 - February 18, 2025
  • 1.2.1 - March 29, 2019
  • 1.2 - September 9, 2014

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Sign Up

Pin It on Pinterest