Voting System in Bricks using WP ULike

Updated on 16 Feb 2023

This Pro tutorial provides the steps to add upvote and downvote buttons using WP ULike Pro for posts output via Bricks' Query Loop and order the posts by the number of upvotes first and then by published date.


The steps in this article will also work with the templates in the free version. Voting-style templates are available only in the Pro version though.

Step 1

Install and activate WP ULike and WP ULike Pro.

Go to ULike → Configuration → Content Types → Posts.

Select the StackVotings template. See this page for a live demo of this template.

If you'd like the voting buttons to not automatically appear near the bottom of your single posts, set "Automatic display" to OFF.

By default, voting is enabled for everyone incl. non logged-in visitors. If you'd like to restrict this to only the users that are logged in, set "Only logged in users" to ON.

Step 2

Edit your posts list Template or Page with Bricks.

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro