Skip to content
  • Home
  • Explore
    • Media Assets
    • Data Assets
  • Knowledge Base
    • Media Library
    • Data Library
    • API Documentation
    • Use cases
    • All Documentation
  • Access
    • Developer Tools
    • Media Library Login
    • Data Library Login
    • Request Access Account
Menu
  • Home
  • Explore
    • Media Assets
    • Data Assets
  • Knowledge Base
    • Media Library
    • Data Library
    • API Documentation
    • Use cases
    • All Documentation
  • Access
    • Developer Tools
    • Media Library Login
    • Data Library Login
    • Request Access Account

About Destination Palestine ODR

  • About Destination Palestine ODR
  • Who is it for?
  • Why Open Data?
  • Tourism Assets Available
  • Why contribute?
  • Request Access

Media Library

  • About Media Library
  • Getting Started
  • Using Available Media Assets
  • Media Library WordPress Plugin
  • Contributing Media Assets
  • Media Library API Documentation

Assets Library

  • About Tourism Assets Library
  • Getting Started
  • Using Available Data Assets
  • Asset Types and Fields
  • Destination Palestine WordPress Plugin
  • Destination Palestine WP Plugin Theming
  • Destination Palestine WordPress Theme 1
  • Destination Palestine WordPress Theme 2
  • Contributing Data Assets
  • Data Assets API Documentation

User Guide

  • Asset Types and Fields
  • Destination Palestine WordPress Plugin
  • Request Access
  • Using Available Data Assets
  • Destination Palestine WordPress Theme 1
  • Destination Palestine WordPress Theme 2
  • Contributing Data Assets
  • Destination Palestine WP Plugin Theming
  • Contributing Media Assets
  • Using Available Media Assets
  • Media Library WordPress Plugin

API Documentation

  • Data Assets API Documentation
  • Media Library API Documentation
  • Home
  • Docs
  • Assets Library
  • Destination Palestine WordPress Plugin

Destination Palestine WordPress Plugin

Important: Please note that the “Destination Palestine” plugin requires the “PTML Plugin” for optimal functionality. Before proceeding, ensure that you have installed and activated the “PTML Plugin.” Visit our downloads section to obtain the “PTML Plugin” and follow the installation instructions. Once the prerequisite plugin is in place, you can seamlessly harness the full potential of the “Destination Palestine” plugin.

Welcome to the documentation for the “Destination Palestine” WordPress plugin, your gateway to seamlessly importing content from our Assets platform into your WordPress site.

Plugin Download #

You can download the “Destination Palestine” plugin from our main website under the Downloads section. Make sure to install and activate the plugin before proceeding.

Configuration #

Before initiating the import process, it’s crucial to configure the plugin to align with your WordPress setup.

  1. Assign Asset Languages:
    • The plugin connects to the main server and retrieves assets categorized by type.
    • You must assign at least one language (Arabic and English are available) to your WordPress languages.
  2. Import Options: Choose how you want to import assets into WordPress:
    • Multiple Post Types (Default): Each asset type gets its own post type, with distinct categories.
    • Single Post Type: All assets share a single post type in WordPress, organized under a unified category tree.

Importing Assets #

Follow these steps to import assets into WordPress:


1: Navigate to Import Page: Go to the import page within the plugin.

2: Select Asset Type: Click on the corresponding tab for the asset type you wish to import.

3: Filter the assets: Expand the filter area and select the values according to your needs.

4: Choose Import Method:

  • Individually select specific assets for import.
  • Import all results returned from your search.

5: Import Process: The plugin will import assets into WordPress, creating posts with fields such as Title, Description, Featured Image, and relevant meta fields based on asset type. Categories are automatically created and assigned to the imported assets. You will have to choose which languages to import if you configured more than one language.

Updating Assets #

Users can update assets using two methods:

Method 1: Reimport Assets #

If you want to update an asset with the latest data or if changes have been made on the Assets server, you can simply reimport the asset.

Method 2: Bulk Update from the Listings Page #

For users who want to update multiple assets at once or synchronize the entire assets, the “Bulk Update” feature comes in handy. Follow these steps:

  1. Go to the “Listings” page within the plugin. This page displays a list of all imported assets.
  2. Select the items you wish to update by checking the corresponding checkboxes.
  3. Click on the “Bulk Update” dropdown at the top of the page.
  4. Choose “Sync and Update” from the dropdown menu.
  5. Click the “Apply” button to initiate the bulk update process.

This method will update the data for the selected assets and remove any items that were deleted from the Assets server.

Embedding Content #

In addition to importing, you have the option to embed content without importing. Follow these steps:

1: Access Embedding: Click on the “brackets []” icon within each asset card.

2: Popup Window: A popup appears, listing all available values you can embed.

3: Copy Shortcode: Click on the “copy” icon to copy the shortcode.

4: Shortcode Attributes: Customize the shortcode using the following attributes:

  • lang: Choose between ‘en’ or ‘ar’ for languages.
  • label: Display labels by setting it to ‘true’ or ‘false’.
  • custom_label: Use your custom label (works if label is set to ‘true’).
  • minimal: Display extra HTML tags around the element (‘true’ or ‘false’, default is ‘false’).
  • height: For special fields like the map field.

Theme Configuration #

Refer to a separate page that explains how to configure your theme to effectively use the content imported by the “Destination Palestine” plugin.

Thank you for choosing our plugin. If you encounter any issues or have further inquiries, consult the provided support resources. Happy exploring!

Still stuck? How can we help?

How can we help?

Asset Types and FieldsDestination Palestine WP Plugin Theming
Table of Contents
  • Plugin Download
  • Configuration
  • Importing Assets
  • Updating Assets
    • Method 1: Reimport Assets
    • Method 2: Bulk Update from the Listings Page
  • Embedding Content
  • Theme Configuration

The Destination Palestine Media Library is operated as a service to the entire Palestinian tourism sector and anyone working in/with Palestinian tourism by the Palestine Ministry of Tourism & Antiquities. All copyrights for material stored in the Library remain with the respective creators.

The Destination Palestine Media Library and part of its content was developed with the financial support of the European Union and the German Federal Ministry for Economic Cooperation and Development. Its contents are the sole responsibility of the Palestine Ministry of Tourism & Antiquities as the management unit and responsible curator of the Destination Palestine Media Library and do not necessarily reflect the views of the EU or the German Federal Ministry for Economic Cooperation and Development.

Technical design and development by Ashraf Bakri
 Tourism Digitalization & Development Consultant
www.ashrafbakri.com