Documentation

All the information you need in one place

How to import and export social templates in Nelio Content?

Nelio Content includes the possibility of importing and exporting your social templates in bulk to facilitate your work. To do this, go to the Nelio Content settings and open the Social Templates tab. There you will find the buttons to Import and Export templates.

Buttons to import and export social templates in Nelio Content settings.
Buttons to import and export social templates in Nelio Content settings.

Import social templates

To bulk import social templates into your WordPress installation, click the “Import” button within the social templates tab of Nelio Content settings.

Note that you can import templates in both the publication list and the reshare list.

Once you click the “Import” button, a dialog will open in which you can paste the social templates you want to import:

Dialog to import social templates.
Dialog to import social templates.

Note that the format for importing social templates is JSON, so you’ll need to include a list of elements in this format, each element being a representation of the social template with the following attributes:

  • text: content of the social template.
  • author: (optional) identifier of the WordPress user whose content the template applies to.
  • network: (optional) social network to which the template applies.
  • profileId: (optional) ID of the social profile to which the template applies. To know the identifiers of the social profiles you can use the export function of social templates and see there the identifiers used in your templates.
  • postType: (optional) the type of post the social template applies to, such as post, page, product, etc.
  • postCategory: (Optional) Post category to which the social template applies.

Once you have the list of templates to import in JSON format, paste the text in the dialog box and click the import button:

Importing a social template.
Importing a social template.

If the content follows the previously explained format, the templates will be uploaded to your list of social templates for you to use them in Nelio Content.

Export social templates

To export the social templates from your WordPress installation, click the “Export” button within the social templates tab of Nelio Content settings.

Note that you can export both the templates from the publication list and the reshare list.

Once you click the “Export” button, a dialog will open in which you can copy the social templates you want to export:

Dialog to export social templates.
Dialog to export social templates.

The export format is the same that we have detailed before to import social templates.