Connectors

WordPress Connector

Available in:

  • Team, Ultimate and Enterprise editions
  • Get in touch with Sales for licensing questions.

WordPress is an open-source blogging and web content management system. It also supports mailing lists, forums, media galleries, analytics, and online stores.

Requirements

  • WordPress Version: 3.7 or higher
  • PHP Version: 5.6 or higher
  • WPML Plugin: Version 3.7 or higher

Supported Content Types

WordPress connector allows the downloading of source content and uploading of target localizations directly to/from WordPress for the following content types:

  • Posts
  • Pages
  • Tags
  • Categories
  • Custom post types

Supported Visual Page Builders

The following Visual Page Builders are supported by the Memsource Translation Plugin for WordPress:

  • Avada
  • Divi
  • WPBakery Page Builder (formerly Visual Composer)
  • Avia (Enfold Theme)
    • Enfold custom fields must be deselected because they are not supported. Click on the Memsource Plugin in your WordPress account and go to the Translatable Content page to deselect the Enfold custom fields.

WordPress Connector Use Cases

There are a number of use cases for the connector:

  • Project Managers can add files directly to projects from an online repository
  • Set up the Automation Widget allowing Submitters to add files to requests directly from the online repository.
  • Use Automated Project Creation (APC) to have Memsource automatically create new projects when a change in the last modified date is detected in monitored files or an entire list.
    Selected files are imported the very first time APC runs.
  • The Connector API can be used to automate steps otherwise performed manually through the UI. Webhooks can be used to have Memsource notify 3rd party systems about certain events (for example, a job status change).

Connect to WordPress

WordPress Settings:

  1. Install the WPML plugin to create and manage multilingual pages.
  2. Follow instructions on Memsource Translation Plugin for WordPress page to install the plugin.
  3. Go to Memsource in the left-hand navigation panel
  4. Click Connector and then Show Connector settings.
  5. Click Generate new token to generate a token to establish the connection.
  6. Select which posts should be imported based on their status and what status should be assigned to the translated content sent back from Memsource.
  7. Navigate to the Translatable content page and select custom fields from the list that should be exported from WordPress and translated in Memsource.
    All custom fields are selected for export by default.
  8. Navigate to the Language mapping page and map WordPress languages to Memsource language codes.
  9. Go to the Shortcodes page to see the list of supported shortcodes or add a custom shortcode that was created using a third-party shortcode plugin.
Note: Languages in WPML must match the languages of the Memsource project. To support local variations such as French (Canada), define the languages in the WPML panel inside WordPress.

Memsource Settings:

  1. From the Setup ( ) page, scroll down to the Integrations section. Click on Connectors.
    The Connectors page opens.
  2. Click New
    The Create Connector page opens.
  3. Provide a name for the connection and change the Type to WordPress.
  4. Enter the WordPress site URL (e.g. if your WordPress admin page URL was http://blog.memsource.com/wp-admin/index.php, the site URL would be http://blog.memsource.com/).
  5. Enter the Memsource WordPress plugin token with the token from Memsource plugin configuration
  6. Click Test connection
    A list of languages configured by the WPML plugin will appear if the connection was successful. A red exclamation point will appear if it wasn't. Mouse over the icon to see additional details.
  7. Click Save.
    The connector is added to the list on the Connectors page.

If a default content type is required when connecting to a WordPress, open the connector configuration and click the Select Remote Folder button to set it.

Troubleshooting

What to do if Memsource Imports Text Full of Code

Some Wordpress add-ons inject code into your WordPress pages. Memsource does not handle this code without further configuration.
Add-ons known to cause this issue are:

  • Avia Layout Builder
  • Divi Builder
  • Fusion Builder
  • Visual Composer
  • WPBakery (formerly Visual Composer)

To configure Memsource in this case, please indicate in WordPress which custom fields you wish to translate. Go to Memsource Plugin, then Shortcodes, and add the shortcodes based on the specification of the addon format. For Bakery, the settings are shown below: