ACF Checkboxes – put all values into a shortcode

This will spit out a shortcode for Event Espresso for a Event List with multiple categories the user chooses.

  1. Create some event espresso calendar categories.
  2. Create an Advanced Custom Field Group with 2 Fields
    1. “Show Events?” (radio button, “No” “Yes” – default no)
    2. “Categories”: (checkboxes with your categories as choices)
  3. Then create a place in your template to show them. Do this with the following code.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

76 − = 74