Create and manage thousands of dynamic content versions directly from a CSV file.
- Easily create and manage thousands of dynamic versions
- No page load delay! Not even if with thousands of versions
What is Dynamic Content from CSV Good For?
Creating dynamic content using If-So is super easy and useful. But if you’re applying thousands or even only dozens of dynamic versions, it can become timeconsuming, and the page-load delay becomes noticeable.
If-So CSV is a new way to easily create and manage your dynamic content. It allows you to create and manage thousands of dynamic content versions directly from… well… a CSV file.
If-So CSV is flexible enough to suit any need and syncs with If-So. Its functionality includes:
- compatibility with HTML as the CSV content
- can be used with page caching
- displays content that can be used anywhere on your site or on your page templates
Which Conditions Can You Set with If-So CSV?
- Query-String (URL Parameter): Show content based on the value of a parameter
- Geolocation: Show dynamic content based on the country, state, or city name
- User Timezone
- Page URL
- Post ID
- User IP
If you want to show dynamic content based on other conditions, please check out our dynamic triggers.
How to set up the Dynamic Content from CSV?
Step1: Create a CSV file with the following structure:
1. Column A – the parameter value.
2. Columns B: the dynamic content that will be displayed if the URL contains the parameter value (can be HTML if you want).
3. Column C-F (optional): columns C-F are additional columns you can use to display dynamic versions in other places on your page.
After uploading the CSV to your site, you will receive unique shortcodes which correspond to the content of each column.
Step 2: Upload your CSV
1. On your WP dashboard, go to If-So > Bulks
2. Name your Bulk (the name is for your reference only)
3. Under “Condition Type”, select “Query String”
4. Set your parameter (the parameter is the bolded part in the following example: www.example.com?color=red).
The parameter can be whatever you want, except for several WordPress reserved terms.
5. Select your CSV separator – by default, the separator should be “Comma”. If your content contains commas you might want to set a different separator when you save your file.
6. Upload your file.
7. Click “Create Bulk”.
Displaying your dynamic content
1. The bulk you created on the previous step should now be shown on the If-So > Bulks page. Find it and click “View”.
2. Copy the shortcode of the content (column) you want to display.
3. Paste the shortcode anywhere on your website.