How Can I use Group Field in Wilcity?

The Group Field is a special field in Wilcity, it created for external shortcode only, which means We will use this shortcode to create the Custom Fields and use the External Shortcode to Print the Content onto the Front-end.

In this tutorial, We will use Group Field combine to su_label shortcode  – it’s a shortcode of Shortcodes Ultimate plugin – to print the message onto the front-end.

Step 1. Installing Shortcodes Shortcodes Ultimate

  1. Log into your WordPress site
  2. Click on Plugins -> Add New -> Search For Shortcodes Ultimate -> Install and Activate this plugin

Step 2. Setting up Label Group Field

[su_label type=”success”]This is a success message[/su_label] -> This is su_label shortcode structure, so We will need to create 2 fields: Type Field, and Message Field.

Step 3. Adding Shortcode to Single Listing Content

  1. Navigate to Single Navigation
  2. Click on Add New Section 
  3. Complete all Fields setting there. Regarding the Content field, please follow this instruction: [su_label group_key={{my_label_group_field}} type={{type}}]{{is_content_message}}[/su_label]

{{my_label_group_field}}: It’s the key of group field that created at step 2 

{{is_content_message}}: The key that is inserted between [shortcode]mybetween[/shortcode] always contains is_content prefix




Leave A Comment?