跳到内容

WeTravel Widgets

v1.2.3

WeTravel Inc · 2025年5月28日 上架

Customize WeTravel's embedded widgets with your own styles and layouts. Create beautiful, branded travel displays that match your website design.

正在使用
100+
评分
暂无
累计下载
1,577
最近更新
2025年9月8日
需要 WordPress 5.2+已测试到 6.8.13PHP 7.0+

贡献者

截图

Widget Library showing multiple saved designs
Widget Library showing multiple saved designs
Widget customization interface with live preview
Widget customization interface with live preview
Different layout options (vertical, grid, carousel)
Different layout options (vertical, grid, carousel)
Gutenberg block interface
Gutenberg block interface
Mobile view of customized widgets
Mobile view of customized widgets

The WeTravel Widgets plugin allows you to customize WeTravel’s embedded widgets to seamlessly match your WordPress website’s design. Create multiple widget designs, save them for reuse, and easily embed them anywhere using shortcodes or Gutenberg blocks.

Key Features:

  • Widget Customization – Customize WeTravel’s embedded widgets with your own styles and layouts
  • Multiple Designs – Create and save multiple widget designs for different pages or sections
  • Layout Options – Choose between vertical, grid, or carousel layouts
  • Button Customization – Customize button colors, text, and behavior
  • Visual Design Library – Manage all your widget designs in one place
  • Easy Implementation – Use shortcodes or Gutenberg blocks to place widgets anywhere
  • Responsive Design – Looks great on all devices from mobile phones to desktop computers
  • Live Preview – See your customizations in real-time while editing
  • Design Reusability – Save your designs with unique keywords for easy reference

The plugin connects directly to the WeTravel API to ensure your trip information is always up-to-date. When you update trip details, prices, or availability on WeTravel, changes will automatically reflect on your website.
Perfect for travel agencies, tour operators, and any business using WeTravel that wants to customize their widget appearance to match their brand.

External Services

This plugin connects to WeTravel’s services for two main purposes:

  1. Trip Information Retrieval

    • The plugin fetches trip data from WeTravel’s API (api.wetravel.com) to display your trips on your website
    • The only configuration needed is the identification information extracted from the WeTravel embed code that you provide in the plugin settings
    • Data retrieved includes trip details, pricing, availability, and SEO configuration
    • This data is fetched whenever a widget is loaded or refreshed on your site
    • No personal user data is sent during this process – only the necessary identification data parsed from your provided embed code
  2. Booking Widget Integration

    • When users interact with booking buttons, the plugin loads WeTravel’s embed checkout functionality
    • The integration uses only the necessary identification data extracted from the embed code you provided in the WordPress admin settings
    • During the booking process, users may provide personal information directly to WeTravel (not through your WordPress site)
    • The checkout process is handled entirely by WeTravel’s secure platform
    • User data collected during booking is subject to WeTravel’s privacy policy

For more information about how WeTravel handles data and provides services, please review:
– Terms of Service: https://www.wetravel.com/terms
– Privacy Policy: https://www.wetravel.com/privacy

Shortcode Parameters

The [wetravel_trips] shortcode accepts the following parameters:

  • widget – The ID or keyword of your saved widget design
  • display_type – Layout style: “vertical”, “grid”, or “carousel” (default: “vertical”)
  • button_type – Type of button: “book_now” or “view_trip”
  • button_text – Custom text for the button
  • button_color – Color of the button (hex code, e.g., “#33ae3f”)
  • items_per_page – Number of trips to display per page (default: 10)
  • items_per_row – Number of trips to display per row in grid layout (default: 3)
  • items_per_slide – Number of trips to display per slide in carousel layout (default: 3)
  • trip_type – Filter trips by type: “all”, “one-time”, or “recurring”
  • date_start – Start date for filtering trips (format: YYYY-MM-DD)
  • date_end – End date for filtering trips (format: YYYY-MM-DD)
  • search_visibility – Toggle search bar visibility: true (1) or false(0) (default: false). This is not available for carousel display type.
  • border_radius – Border radius for the widget design (default: 0)
  • locations – Semicolon-separated list of locations to filter by

Basic usage with a saved design:
[wetravel_trips widget=”my-custom-design”]

Example with custom parameters:
[wetravel_trips display_type=”carousel” items_per_slide=”3″ button_color=”#ff0000″ button_text=”Book Now” locations=”New York, USA;London;Paris, France”]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums