5th Mar '24/8 commentsPost Views Counter Query Loop in BricksSridhar Katakam Looking to output the most viewed posts in your Bricks site in a query loop? This Pro tutorial shows how. Install and activate the free Post Views Counter plugin. Select post types for which post views will be counted in the plugin's settings. It is enable for post by default. In the Bricks editor, set up a query loop on a Block element, enable PHP query editor in the query popup and paste: This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Tagged: BricksPluginsProQuery LoopSridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.Get access to all 633 Bricks code tutorials with BricksLabs Pro
Pro Events grouped by Event Date custom field in BricksThis Pro tutorial for Bricks users provides the steps to output posts of an event custom post type dynamically grouped by the value of their…Read more →Categories: Bricks, Plugins, ProTags: ACF, Nested Queries
Pro How to Query WordPress Taxonomy Terms by Hierarchy Level in BricksHow to limit the terms of a Bricks Terms query to only those at a specific level within the taxonomy hierarchy.Read more →Categories: Bricks, ProTags: Terms Query
Pro Google Calendar Query Loop in BricksUsing a query loop to pull events from a public Google Calendar and output names, dates & times and descriptions.Read more →Categories: Bricks, ProTags: Custom Query Type, Google Calendar, Query Loop
Pro YouTube Video Timestamps in BricksThis Pro tutorial provides the steps to output a YouTube video given its ID with custom timestamps and their description text using ACF Pro or…Read more →Categories: Bricks, Plugins, ProTags: ACF Pro, ACF Repeater, Interactions, Loop Index, Meta Box
How to List Your Posts Divided by Categories in BricksIn this tutorial, we'll learn how to display a list of posts divided by each category. The DOM tree Here is how I structured my…Read more →Categories: Bricks, FreeTags: Dynamic Data, Query Loop
Pro Building Prev / Next Posts with Query Loops in BricksFollowing on from our tutorial on Adding Custom WP_Query Loops in Bricks, in this pro tutorial we'll walk through the process of using those same…Read more →Categories: Bricks, ProTags: Adjacent posts, bricks/query/run, Query Loop, WP_Query
How to create a dynamic infinite logo slider with ACF and BricksThis tutorial provides the builder settings, PHP & CSS codes that can be pasted in order to create an infinite logo slider in pure CSS…Read more →Categories: Bricks, FreeTags: ACF, CSS, CSS Grid, Custom Post, Query Loop
Pro Events grouped by months within years based on event date custom field valueHow to output events grouped by years and months using three nested query loops in Bricks.Read more →Categories: Bricks, ProTags: Nested Queries
Pro Querying Posts by ACF Date Sub Field in BricksUpdated on 17 Nov 2023. This Pro tutorial shows how we can set post__in query parameter of a query loop in Bricks to an array…Read more →Categories: Bricks, Plugins, ProTags: ACF Pro