Custom Parameters
In this section we can setup the default values for custom parameters.
Here click on the “Add Custom Parameter” button and we can add a default value for the custom parameter.
So in the snippet short code we have not defined the value of the parameter, it will use the default value.
For example please consider the example below.
Here in the snippet content we can add the parameters in braces. The parameters are {param1} and {date}.
In the short code when using in the site content, we can add the parameter and value like in the format [xyz-ics snippet=”snippet” param1=”val1″] as given image.
Here the used short code is [xyz-ics snippet=”Test-Snippet” param1=”renai” date=”june7″] where first parameter is “param1” and its value is “renai” and the second parameter is “date” and its value is “june7”.
If we want to use the default value of these parameters we can use the short code like [xyz-ics snippet=”Test-Snippet”]. So in the parameter section it will use the default value.
Now in the post it will display the parameter values like the following image.