Links

Shortcode

Each ACF Card has a shortcode that displays the assigned ACF View. HTML markup is created automatically by the plugin.
Shortcode default example;
[acf_cards card-id="124" name="Name of Card"]
Note: Displays the Card, posts will be queried according to the filters and displayed according to the selected ACF View, replace card-id="124" with the ID of your Card. See full doc​
Shortcode example to restrict access to the Card;
[acf_cards card-id="124" name="Name of Card" user-with-roles="ROLE1,ROLE2" user-without-roles="ROLE1,ROLE2"]
Note: Insert the Role names in the ‘user-with-roles’ and/or ‘user-without-roles’ argument replacing “ROLE1,ROLE2” with your user roles, replace card-id="124" with the ID of your Card. See full doc​