14th Dec '23
/
11 comments

MB Favorite Posts in Bricks

MB Favorite Posts is an add-on plugin for users of Meta Box lifetime bundle that enables your site's visitors and logged-in users to mark posts as favorites.

This Pro tutorial explores using MB Favorite Posts in Bricks, including outputting the list of favorites via a query loop.

The plugin provides a shortcode for showing user's (logged-in or visitor) favorites:

[mbfp-posts]

If you want to use a Bricks query loop for showing the list of favorites (regardless of whether the user is logged-in or not), turn on the Query editor (PHP) for the query-loop enabled item (typically, a Block element) and paste:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Get access to all 610 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Pro
Filtering posts by a group field’s true / false field sub field value with ACF or Meta Box in Bricks

Filtering posts by a group field’s true / false field sub field value with ACF or Meta Box in Bricks

This Pro tutorial covers how posts of a Bricks query loop can be filtered to show only the ones whose true / false or checkbox…
Categories:
Tags:
Filtering Bricks Posts Query Loop by Meta Box Group’s Radio Subfield Value

Filtering Bricks Posts Query Loop by Meta Box Group’s Radio Subfield Value

In the past we showed how a Bricks posts query loop can be filtered by Meta Box group's subfield of types text/number and Datepicker here.…
Categories:
Output HappyFiles Folders in Metabox Select-Field

Output HappyFiles Folders in Metabox Select-Field

This tutorial is part of a series where I'm gonna show you how to output custom HappyFiles Galleries and Sliders. Part one will cover a…
Categories:
Pro
Meta Box/ACF Images Staggered Grid Gallery in Bricks

Meta Box/ACF Images Staggered Grid Gallery in Bricks

Showing images from two Gallery-type of ACF or Image Advanced-type of Meta Box fields in a staggered grid layout.