Configuration > Content Types

In this section, you have access to the 4 types of contents in WordPress and you can specify your config for each of them:

  • Posts (Including all standard post types)
  • Comments (Including all standard comments)
  • BuddyPress (Including BuddyPress activities & comments with supporting of user notifications)
  • bbPress (Including bbPress topics & replies)

Many of these settings are the same in each content type. So we will introduce the common items in the "Posts" section and we will introduce the rest of the different items on their own titles.

If bbPress and BuddyPress plugins are not installed and enabled, Their options will not be displayed and no related functionality will be implemented.

Posts

  1. Select a Template: Choose one for the Like Button from the ready-made templates. Note that in the free version you only have access to the first 4 templates and the rest of the templates are displayed when you install the PRO version.
  2. Button Type: If you choose "Default", "Simple Heart" & "Simple Up/Down Vote [PRO]" templates, this option is displayed and you can select the button type from both text and image modes.

    • Button Image: Select your custom icons for Like, Unlike, Dislike [PRO], Undislike [PRO] statuses.
    • Button Text: Insert your custom texts for Like, Unlike, Dislike [PRO], Undislike [PRO] statuses. (You can also use HTML tags in these fields)
  3. Automatic display: The "Automatic Display" options come in handy if you have multiple pages and you want to add the voting feature to all of them at once. Add Like and Dislike button to top, bottom, or both side of content with one click.
  4. Button Position: Select button position between "Top", "Bottom", and "Top & Bottom" of content options.
  5. Automatic Display Restriction (Only for posts section): With this option, you can disable automatic display on selected item pages.

    • Post Types Filter (Only for posts section): If you select the "Singular" value in the option above, this option is displayed and you can make these post types an exception and display the button on them.
  6. Display Counter Value Condition: Choose between "Visible", "Hidden", and "Only Logged In Users" values.

    • Hide Zero Counter Box: If you didn't select the "Hidden" option in the option above, this option is displayed and you can enable a condition that if the counter is equal to zero, does not display it. 
    • Enable Percentage Values [PRO]: This option works for some templates that only have a simple like & dislike mode and you can display the counter as a percentage.
  7. Logging Method: Choose between the following options:

    • No Limit: There will be no restrictions and users can submit their points each time they refresh the page. In this option, it will not be possible to resubmit reverse points (un-like/un-dislike).

      • Vote Limit Per Day: Limits the number of votes that can be submitted by user on each item per day.
    • Cookie: By saving users' cookies, it is possible to submit points only once per user and in case of re-clicking, the appropriate message will be displayed.

      • Cookie Expiration: Specify how long, in seconds, cookie expires. Default value: 3153600
    • Username/IP: By saving the username/IP of users, It supports the reverse feature  (un-like and un-dislike) and users can change their reactions and are only allowed to have a specific point type.
    • Username/IP + Cookie: Same as username/IP description, However, if the user IP or username changes and the cookie is set, it does not allow the user to like /dislike.
  8. Only logged-in users: By activating this option, only logged-in users will be allowed to submit their likes.

    • Display Type: After activating the option of restricting to logged-in users, this option is displayed and you can select one of the following modes:

      1. Template: Selecting this value displays a new option called "Custom HTML Template", and you can add a custom html structure to replace the Like button. 
      2. Button: This option displays the Like button in the same way, but if the user clicks on it, a message will be displayed as a toast message. The text of this message can be edited in the Translations section as "Login Required Message". 
      3. Modal [PRO]: By selecting this option, it adds a new option called "Modal Template", and after the user clicks on the Like button, a Modal Box opens and displays the content of this option. (e.g. You can use login form shortcode here.)
  9. Display Likers Box: Display a list of users who have submitted their reactions by Like or Dislike.

    • User List Arrange: Choose sort list from Ascending and Descending options.
    • Hide For Anonymous Users: Hide likers list for users who have not logged in. 
    • Likers Box Display: Choose between the following options:

      1. Inline: By selecting this option, the list of users is displayed below the Like button. There is also another option called "Custom HTML Template" that can customize the HTML structure using specific dynamic variables.
      2. Popover: As with the previous option, it supports the "Custom HTML Template" option, except that it displays the list as a popover at the top of the button when you hover or click on the button. 
      3. Pile + Modal [PRO]: This method displays the list of users in a pile with a modern look below the Like button, and by clicking on the list, a new modal box opens that can display the complete list of likers.

        Also, by selecting this option, two other options called "Likers Modal Title" and "Likers Modal Template" are created, which you can use to do more customization.

        The Modal Template option is very useful and you can use the following dynamic variables to create the html structure of each user.

        {up_profile_url} , {bp_profile_url} , {um_profile_url} , {avatar_url} , {display_name} , {first_name} , {last_name} , {username} , {email}, {user_id}

    • Size of Gravatars: User avatar size.
    • Likers Count: How many users to display in the list. (This option works for all three modes: inline, popover and pile)
  10. Enable WPML Synchronization (Only for posts section): Synchronize likes of post types, which are translated with WPML plugin.
  11. Enable Standard Meta Data  [PRO]  (Only for posts & comments section): By activating this option, the counter data is stored simultaneously in the standard wp_postmeta table and you can use it to create custom queries.

    Meta Keys: like_amount, dislike_amount
  12. Enable Attachments [PRO] (Only for posts section): By activating this option, you can add voting buttons for image attachments. This option only works when you use WordPress +5.6 and also have the standard `wp_get_attachment_image` function in your theme.

    Also, after activating this option, three other options are displayed with the titles "Filter By Attachment ID", "Filter By Class Name", and "Filter By Attachment Size",  which you can use to add your filters for the auto display functionality.

Comments

Exactly the same as the Post settings. There is also an "Enable Standard Meta Data" option in this section, with the difference that like/dislike amount is stored in the wp_commentmeta table.

BuddyPress

Most of the settings in this section are the same as in the Posts section, with only minor changes + few more options.

  1. Button Position: In this option, the values have changed and you can choose one of the "Activity Content" and "Activity Meta" value.
  2. Activity Comment: Add the possibility to like comments in the activity stream.
  3. Enable Activity Notification: By activating this option, two other sub-options called "Post Activity Text" and "Comment Activity Text" are displayed, and according to them, when the user likes a post or comment, an activity will be added to the network.
  4. Enable User Notification: Sends out notifications when you get a like from someone.

    • Disable Notification Types: With this option, you can disable user notifications on content types.

bbPress

Similar to the settings in the Posts section, except that it does not have some options that are marked as (only for posts).

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us