Tourwriter WordPress Plugin

Displaying Tourwriter itineraries on your website is now as simple as creating regular posts.

The Tourwriter Website plugin integrates the Tourwriter tour operator software with WordPress by allowing itineraries created in Tourwriter to be embedded in your WordPress posts and pages.

Here’s a sample website that uses Tourwriter by Tourwriter to display itineraries: https://asgard.tourwriter.com

Downloading the plugin

  1. Head to the WordPress store and download the Tourwriter Plugin. You can also search for ‘Tourwriter by Tourwriter’ in the WordPress plugin store to find it.

Installing the plugin

  1. Download and install the plugin.

Retrieving Tourwriter API Key

  1. Log into your Tourwriter account and go to your profile page.
  2. Copy the API key from here.

Adding Classic Key to WordPress

  1. Select the Settings menu item from the left hand menu when in the WordPress.
  2. Select the Embed itineraries with Tourwriter sub-item.
  3. Fill in the API key (this is from your Tourwriter profile labeled API Key)

tourwriter shortcode

  1. Select the Check API Key button to validate your Tourwriter API key. If the check is successful click Save settings to save the integration.

Obtaining Tourwriter Itinerary ID

  1. Navigate to the Tourwriter itinerary that you would like to publish and obtain its Itinerary ID. The Itinerary ID can be found on any URL (address bar) that is referencing the specific itinerary as highlighted below.

Note: In the example above the Itinerary ID is: ad56b118-54d6-4e3f-883b-773ee2ef5d4a

Adding Itinerary ID to WordPress

  1. Go back to WordPress and navigate to Itineraries or Posts in the left hand menu, then select Add new or Add block button at the top of the screen.
  2. Select Shortcode [/] from options.

  1. Insert the itinerary id in the following code: [tourwriter id="itinerary_id"]

Note:

    • <Itinerary ID> is where the actual itinerary id is added. The angled brackets are to indicate that the inverted commas should enclose an actual ID. An example of the short code is accessible in the plugin settings under Settings > Tourwriter by Tourwriter.
    • Here is the example:

    • You may copy and paste the shortcode to the Shortcode textbox of your WordPress post directly.
    • Ensure there are no extra spaces at the end of the code.
  1. You may enter content above or below the Shortcode textbox to have it correspondingly appear on your website. You may add information such as the itinerary duration, itinerary price and number of travellers and so on.
  2. Click save as draft and then preview your itinerary.
  3. Once you are happy with it click Publish.

Note: Please be aware that any edits you make to your itinerary in Tourwriter will automatically be reflected on your website.