Aeropage Sync for Airtable
Security Notice In our latest release (version 3.3.0), we addressed security vulnerabilities reported by Cheng Liu. We strongly recommend updating to the latest version to protect your site. A powerful, easy to use combination of tools that allow you to automatically (or manually) generate WordPress
Security Notice
In our latest release (version 3.3.0), we addressed security vulnerabilities reported by Cheng Liu. We strongly recommend updating to the latest version to protect your site.
A powerful, easy to use combination of tools that allow you to automatically (or manually) generate WordPress posts with custom metadata.
Create WordPress posts from your Airtable data.
Install the WordPress Plugin
The WordPress Connector has two parts, a WordPress plugin that pulls your Airtable data into wordpress, and an API tool to connect with airtable here .
To connect to wordpress, use the Aeropage Sync for Airtable plugin. You can find it in the WordPress directory by searching for “ Aeropage “.
Add a Custom Post Type
Once the plugin is installed, just open it from the sidebar and “Add Post”.
After clicking “Add a Post” you will be shown a form.
Title
The title of the custom post type will usually be the same name as the table you”re importing data from in Airtable.
Dynamic URL
The dynamic url can be “SEO” friendly by using the name eg “shure-headphones” or it can be easier to manage potential duplicate names by using the unique id of each record.
API Token
Continue to the next steps to create a token to use with the api connector.
Auto Sync
A cron job that is executed in an hourly interval which is based on WordPress Cron implementation. WordPress Cron is WordPress’s task scheduler that runs on site visits to handle tasks like publishing posts and checking for updates.
WordPress Cron, and to an extent auto sync, relies on site traffic, so on low-traffic sites, tasks may not run on time.
If you have an access to the hosting server settings, you can update it like so:
Disable WordPress Cron in wp-config.php:
define('DISABLE_WP_CRON', true);
Set up a server cron job to run wp_cron.php every hour:
*/5 * * * * curl http://example.com/wp-cron.php?doing_wp_cron
When submitted this will create a custom post type and automatically add a new post for every record in your connected Airtable
To complete the form you will need an API token (below)…
Create API Connector & Token
The api connector stores your connection info and prepares the data in the response to be used in WordPress.
Connect to Airtable
After clicking new and creating your project, copy and paste the url to the airtable data you want to connect. To find out more details on this step, click on the instructions button.