Snippet Shortcodes

Documentation and tips for setting up Snippet Shortcodes on your WordPress site.

More:
WordPress.org / GitHub / YeKen.uk

Import shortcodes via CSV

The following feature is only available in the Premium version of the plugin.

Rather than manually add shortcodes to your shortcode collection, Snippet Shortcodes has a CSV import tool which allows you to bulk import shortcodes.

Note: Depending on your server, you may need to split larger CSV files into smaller, more manageable sizes for performance reasons. As a guide, we'd recommend processing no more than 500 rows at a time.

CSV Format

A CSV file must adhere to the following rules:

slug,content,global,enabled

Note: The column "content" is required however, the data for each row can be left blank if not required.

Note: If the import finds the above rules haven't been met, then the row will either be skipped or fail.

A simple CSV example

slug,content,global,enabled
business-development,Robust background support,false,false
human-resources,Stand-alone regional encoding,false,true
legal,Automated needs-based utilisation,false,false
support,Our support team is located in Canada,false,false
...

Importing a CSV file

Dry run mode

If selected, dry run mode will run basic tests against each row without attempting to update the database. We recommend you do this before performing an import as it gives the opportunity to correct any issues before attempting the main import.