Linux 软件免费装
Banner图

WeTravel Widgets

开发者 wtragsana
更新时间 2025年6月5日 18:20
PHP版本: 7.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

widget booking travel multi-day wetravel

下载

1.0 1.1

详情介绍:

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: 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 who wants to customize their widget appearance to match their brand.

安装:

  1. Upload the plugin files to the /wp-content/plugins/wetravel-widgets directory, or install the plugin through the WordPress plugins screen directly
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to WeTravel Widgets > Settings to configure your WeTravel embed code
  4. Create your first widget design in WeTravel Widgets > Create Widget
  5. Use the generated shortcode or Gutenberg block to display your customized widget

屏幕截图:

  • Widget customization interface with live preview
  • Different layout options (vertical, grid, carousel)
  • Gutenberg block interface
  • Mobile view of customized widgets

升级注意事项:

1.0 Initial release of the WeTravel Widgets plugin. Customize your WeTravel widgets to match your website's design. 1.1 Improved search bar functionality and widget design options. Broken trip button functionality has been fixed.

常见问题:

How do I create a custom widget design?

Go to WeTravel Widgets > Create Widget in your WordPress admin. You can customize the layout, button style, colors, and more. Save your design and use the generated shortcode to display it.

Can I create multiple widget designs?

Yes! You can create as many widget designs as you need. Each design can have its own layout, style, and settings. Access all your designs in the Widget Library.

What customization options are available?

You can customize:

  • Layout type (vertical, grid, or carousel)
  • Button style and color
  • Button text
  • Number of items per page/row/slide
  • Trip types (all, one-time, or recurring)
  • Date ranges for trips
  • And more!

How do I use my custom widget designs?

You can use either:

  1. Shortcode: Copy the generated shortcode and paste it in any post or page
  2. Gutenberg Block: Add the "WeTravel Trips Block" and select your saved design

Can I still use the default WeTravel widget?

Yes! This plugin enhances WeTravel's embedded widgets with customization options. You can still use the default widget if you prefer.

What should I know about embed code behavior in Gutenberg blocks?

When using the Gutenberg block editor, it's important to add your embed code before making any design customizations. If you customize the design first and add the embed code later, the block might not immediately recognize the change due to how Gutenberg handles block attributes. To avoid any issues:

  1. Always start by inserting your embed code
  2. Then proceed with your design customizations
  3. If you added the embed code after customizing and it's not detected, refresh the page and re-save your post/page Note: This behavior only affects Gutenberg blocks. Shortcodes work as expected and update dynamically.

How do I use the new search functionality?

The search bar allows visitors to filter trips by name and location. To enable/disable the search bar:

  1. Edit your widget design in WeTravel Widgets > Create Widget
  2. Look for the "Display Search Bar" option
  3. Toggle it on/off as needed Note: Search functionality is not available for carousel layouts.

Can I create location-based widget designs?

Yes! With version 1.1, you can create widget designs that focus on specific locations:

  1. Create a new widget design
  2. Use the location filter options
  3. Save the design with a location-specific keyword This is perfect for creating region-specific trip displays.

更新日志:

1.0 1.1