Here are some frequently asked questions about the GatherContent-WordPress integration. If you have any other questions please get in touch or contact us using the blue chat bubble at the bottom right of the screen.

What if my website is password protected?

(This relates to Step 1: Install and Configuration)
When you have HTTP authentication enabled for your WordPress site, you'll need to ensure that you complete the HTTP Authentication Credentials section by adding the username and password details. This will allow the plugin to bypass the password, and import content.

Changes made to a GatherContent Item are not showing as updated in Wordpress

It may be that you've made the changes very recently, so the plugin may need a few minutes to sync. You can also press the 'refresh' button to manually sync GatherContent and Wordpress to pick up your changes.

Can I update the status of a GatherContent Item on import to Wordpress?

Yes you can 👍  From the Template Mappings screen of the plugin, click 'Edit' against the Template Mapping you want to update. Navigate to the 'Mapping Defaults' tab.
Here you'll be able to map each individual GatherContent status to a WordPress status, and optionally, change the GatherContent status when your Items are imported to WordPress.

Is there metadata support?

The plugin comes with built-in support for mapping your GatherContent fields to WordPress Custom Fields, and Yoast SEO fields. There are also many hooks and filters for developers to hook and map their own meta fields.

Is hierarchy supported?

Yes! You can map GatherContent hierarchy to WordPress hierarchy for hierarchical post-types (like pages). Default behaviours can be overridden with the gc_map_hierarchy filter as well.

Is there Multisite support?

GatherContent can work with Multisite. For this to work you’ll need to configure the settings on each site and do the imports per-site.

Does GatherContent work with WPML?

For translations the integration creates an entirely new post (page, custom post-type, etc). Right now, you could feasibly create your WordPress content, including translations, then push to GatherContent and continue managing that way, but there is no way to do an initial GatherContent import in a way that would connect the translations.

Also, this means you would need a 1-1 relationship with the WordPress posts with GatherContent Items, so one GatherContent Item per translation. We will explore a more elegant way of supporting this in the future.

Does GatherContent support inline images?

Not at the moment, but we do have a workaround for supporting ‘Content Images’ mapping in GatherContent. For this you will need to use short codes referencing the images saved in your attachment field. These will need to be placed where you will be wanting to paste your images.

Here are some example short codes you could include in your GatherContent text editor:

[media-1 align=right linkto=attachment-page]

[media-2 size=medium]

[media-2]

The media number references the order in which the files have been uploaded to your Attachment field.

The shortcode syntax is: [media-$position align=left|right|center|none linkto=file|attachment-page size=thumbnail|medium|large|etc]
To explain:

What are the reasons a push or pull of content can fail and what are the error messages?

When pushing or pulling content between GatherContent and Wordpress, there may be times where the content doesn't arrive in the end location successfully. This could be for several reasons, as listed below:

  • Wordpress already has the most recent changes from the Item in GatherContent.
    The error message will show as: WordPress has most recent changes for $item_name (Item ID:$item_id)
  • An error occurs when trying to map post IDs. This is only possible if using the WordPress filters in code.
    The error message will show as: Cannot override post IDs
  • An error occurs if you try to map a GatherContent field to the WordPress 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt' fields, but the value coming through from GatherContent is not numeric OR a string.
    The error message will show as: $field_type field requires a numeric timestamp, or date string (where $field_type represents 'post_date','post_date_gmt', 'post_modified', or'post_modified_gmt')
  • An error occurs when trying to map a post format to an incompatible post-type. This is only possible if using the WordPress filters in code.
    The error message will show as: The $post_type post-type does not support post-formats.
  • If Wordpress fails to fetch and Item from the GatherContent API.
    The error message will show as: GatherContent could not get an Item for that item id: $item_id
  • An error occurs when trying to push a Wordpress Item that is already the same version of that in GatherContent.
    The error message will show as: No update data found for that post ID: $post_id
  • An error occurs if there is an issue in the GatherContent API when trying to create a new Item.
    The error message will show as: No item found or created for that post ID: $post_id

Is there a way to export your mapping settings so you can import them from your local computer to your development server?

The WordPress import/export tool will work as mappings are simply a post-type. But you will need to enter their GC connection credentials manually. If you go to Tools > Export, then select “Template Mappings” in the export radio options, it will export all your mappings, then you can re-import on the other side (Tools -> Import -> WordPress Run Importer).

Can you map multiple GatherContent fields to one Wordpress field?

Yes, you can map multiple GatherContent text fields to a single Wordpress field.
However to be able to push your WordPress content back to GatherContent, fields need to be mapped one to one.

What is the Support page?

Under the GatherContent menu item, you will see a Support page. On this page, you’ll find a large text area filled with technical information about your server, browser, plugin, etc. This information is very useful when debugging, and the GatherContent support team may ask you for it at some point.

Below the text box is a button that will allow you to simply save all of that information to a .txt file. This allows you to easily deliver it to anyone who needs it.

Note: This information contains potentially sensitive data. Please be careful with where you post it. Do not post it in the WordPress support forums.

How can I edit an existing Template Mapping in Wordpress?

From the Template Mappings area of the GatherContent-Wordpress plugin, click 'Edit' against the Template Mapping you want to update.

Articles on the Wordpress integration:

Did this answer your question?