You can select any skin on any of the available grid. Once inside the skin editor, click on Layer Settings which opens up the collapsed section. On the drop-down, select [favorite_button]
, you should see my code:
<div class="sfg-favorite-counter">
[favorite_button]
</div>
The shortcode [favorite_button]
adds a favorite counter to each card within the grid. Problem is Essential grid can’t differentiate each post. It all uses the same post-id. I want to add an available parameter for the favorite counter button. I want to give it the correct post-id.
[favorite_button post_id="%post_id%"]
However, the above code breaks. Doesn’t matter if I add a numeric value for the post_id, it just displays the above shortcode.